simplify nimscript.nim
This commit is contained in:
parent
9659540b18
commit
a2bb7d4c71
3 changed files with 10 additions and 25 deletions
|
|
@ -355,7 +355,7 @@ proc mainCommand* =
|
|||
gGlobalOptions.incl(optCaasEnabled)
|
||||
msgs.gErrorMax = high(int) # do not stop after first error
|
||||
serve(mainCommand)
|
||||
of "nop": discard
|
||||
of "nop", "help": discard
|
||||
else:
|
||||
rawMessage(errInvalidCommandX, command)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue