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
parent 14dd3113a2
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())])