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; } }