summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--tools/nimgrep.nim3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/nimgrep.nim b/tools/nimgrep.nim
index 44416895c..0620fa357 100644
--- a/tools/nimgrep.nim
+++ b/tools/nimgrep.nim
@@ -348,5 +348,4 @@ else:
     let rep = re(pattern, reflags)
     for f in items(filenames):
       walker(rep, f, counter)
-  if not oneline:
-    stdout.write($counter & " matches\n")
+  stdout.write($counter & " matches\n")