From 02985e5a0d8a8add0b5e34035650d8329d98db71 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Fri, 13 Apr 2018 13:27:08 +0200 Subject: [PATCH] Fix missing counting --- bin/core/imag-grep/src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/core/imag-grep/src/main.rs b/bin/core/imag-grep/src/main.rs index 1f97e4a2..223849c9 100644 --- a/bin/core/imag-grep/src/main.rs +++ b/bin/core/imag-grep/src/main.rs @@ -120,6 +120,7 @@ fn show(rt: &Runtime, e: &Entry, re: &Regex, opts: &Options, count: &mut usize) } let _ = writeln!(rt.stdout(), "").to_exit_code().unwrap_or_exit(); + *count += 1; } }