mirror of
https://github.com/badvision/lawless-legends.git
synced 2024-12-26 04:32:05 +00:00
Use new when/is/otherwise with break
This commit is contained in:
parent
73697fa060
commit
3ebf9f11dd
@ -1278,16 +1278,22 @@ while 1
|
||||
when toupper(parsecmd(cmdptr))
|
||||
is 'Q'
|
||||
reboot()
|
||||
break
|
||||
is 'C'
|
||||
catalog(cmdptr)
|
||||
break
|
||||
is 'P'
|
||||
setpfx(cmdptr)
|
||||
break
|
||||
is 'V'
|
||||
volumes();
|
||||
volumes()
|
||||
break
|
||||
is '-'
|
||||
execsys(cmdptr)
|
||||
break
|
||||
is '+'
|
||||
execmod(cmdptr)
|
||||
break
|
||||
otherwise
|
||||
prstr(@huhstr)
|
||||
wend
|
||||
|
Loading…
Reference in New Issue
Block a user