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:
Matthias Beyer 2018-02-10 18:56:17 +01:00 committed by GitHub
commit 3342a08587
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ fn main() {
if opts.count {
println!("{}", count);
} else {
} else if !opts.files_with_matches {
println!("Processed {} files, {} matches, {} nonmatches",
overall_count,
count,