From 7120491d055c04d838d9539fdf0c42003637ec2d Mon Sep 17 00:00:00 2001 From: Zahary Karadjov Date: Tue, 10 Dec 2013 01:49:30 +0200 Subject: in successful compilations with verbosity:0, all output is suppressed (useful for combing with --run) --- compiler/main.nim | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'compiler') diff --git a/compiler/main.nim b/compiler/main.nim index 7cfc6d406..6a4ca496b 100644 --- a/compiler/main.nim +++ b/compiler/main.nim @@ -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())]) -- cgit 1.4.1-2-gfad0