simplify nimscript.nim

This commit is contained in:
Araq 2015-08-21 01:34:46 +02:00
commit a2bb7d4c71
3 changed files with 10 additions and 25 deletions

View file

@ -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)