Merge pull request #1263 from matthiasbeyer/imag-grep/dont-print-stats-if-listing-files
Do not print stats when listing files with matches
This commit is contained in:
commit
3342a08587
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ fn main() {
|
||||||
|
|
||||||
if opts.count {
|
if opts.count {
|
||||||
println!("{}", count);
|
println!("{}", count);
|
||||||
} else {
|
} else if !opts.files_with_matches {
|
||||||
println!("Processed {} files, {} matches, {} nonmatches",
|
println!("Processed {} files, {} matches, {} nonmatches",
|
||||||
overall_count,
|
overall_count,
|
||||||
count,
|
count,
|
||||||
|
|
Loading…
Reference in a new issue