summaryrefslogtreecommitdiffstats
path: root/bin/core/imag-grep/src
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2018-02-06 23:51:19 +0100
committerMatthias Beyer <mail@beyermatthias.de>2018-02-10 16:41:23 +0100
commitec2f3a73d79a57c91574af823e9b39d04624044a (patch)
treed37cc0eb2053da44045676d8ecce7c8d72d8cb08 /bin/core/imag-grep/src
parentedd5925f8846b9216dcbc2bcab2950dfe6047fcd (diff)
Do not print stats when listing files with matches
Diffstat (limited to 'bin/core/imag-grep/src')
-rw-r--r--bin/core/imag-grep/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/core/imag-grep/src/main.rs b/bin/core/imag-grep/src/main.rs
index c6c2c59f..9da97ae0 100644
--- a/bin/core/imag-grep/src/main.rs
+++ b/bin/core/imag-grep/src/main.rs
@@ -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,