Merge pull request #1391 from matthiasbeyer/imag-grep/fix-count

Fix missing counting
This commit is contained in:
Matthias Beyer 2018-04-13 15:54:18 +02:00 committed by GitHub
commit 17ff619ca5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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