Merge pull request #1391 from matthiasbeyer/imag-grep/fix-count
Fix missing counting
This commit is contained in:
commit
17ff619ca5
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue