added isServing parameter

This commit is contained in:
Simon Hafner 2013-02-26 14:36:33 -06:00
commit cc893b968b
4 changed files with 4 additions and 3 deletions

View file

@ -559,6 +559,7 @@ proc MainCommand =
wantMainModule()
CommandSuggest()
of "serve":
isServing = true
gGlobalOptions.incl(optCaasEnabled)
msgs.gErrorMax = high(int) # do not stop after first error
serve(MainCommand)