diff --git a/tools/nimgrep.nim b/tools/nimgrep.nim index 7ba7e1f185c6..51685e556263 100644 --- a/tools/nimgrep.nim +++ b/tools/nimgrep.nim @@ -658,6 +658,8 @@ else: walker(rep, f, counter, errors) if errors != 0: printError $errors & " errors" + if counter == 1: + stdout.write("\n") stdout.write($counter & " matches\n") if errors != 0: quit(1)