diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2018-04-13 13:27:08 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2018-04-13 13:27:08 +0200 |
commit | 02985e5a0d8a8add0b5e34035650d8329d98db71 (patch) | |
tree | 6f6e186961b83516f328841cd8f95ca6cf9f8854 /bin/core/imag-grep/src | |
parent | c27dc79afe2ed2d978515dbcb737b0927783027b (diff) |
Fix missing counting
Diffstat (limited to 'bin/core/imag-grep/src')
-rw-r--r-- | bin/core/imag-grep/src/main.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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; } } |