mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-20 06:20:38 +00:00
simplify nimscript.nim
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user