split os into os and ospaths parts; ospaths is available for NimScript; better NimScript support

This commit is contained in:
Araq 2015-09-04 12:22:12 +02:00
commit 178275f494
6 changed files with 605 additions and 527 deletions

View file

@ -355,7 +355,9 @@ proc mainCommand* =
gGlobalOptions.incl(optCaasEnabled)
msgs.gErrorMax = high(int) # do not stop after first error
serve(mainCommand)
of "nop", "help": discard
of "nop", "help":
# prevent the "success" message:
gCmd = cmdDump
else:
rawMessage(errInvalidCommandX, command)