in successful compilations with verbosity:0, all output is suppressed (useful for combing with --run)

This commit is contained in:
Zahary Karadjov 2013-12-10 01:49:30 +02:00
commit 7120491d05

View file

@ -432,7 +432,9 @@ proc MainCommand* =
else:
rawMessage(errInvalidCommandX, command)
if msgs.gErrorCounter == 0 and gCmd notin {cmdInterpret, cmdRun, cmdDump}:
if (msgs.gErrorCounter == 0 and
gCmd notin {cmdInterpret, cmdRun, cmdDump} and
gVerbosity > 0):
rawMessage(hintSuccessX, [$gLinesCompiled,
formatFloat(epochTime() - gLastCmdTime, ffDecimal, 3),
formatSize(getTotalMem())])