diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2019-10-26 20:30:38 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2019-10-26 20:48:00 +0200 |
commit | 18ec736503af2f8042f6d64615ab28f65d1d5e8c (patch) | |
tree | 02939ba4a928aa2e62eae8c04b9ace5e74714d6b /bin/core/imag-grep/src | |
parent | 57a8341b9cb17a6bc16572f0e952443c98b00302 (diff) |
Add id reporting in imag-grep
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'bin/core/imag-grep/src')
-rw-r--r-- | bin/core/imag-grep/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/core/imag-grep/src/lib.rs b/bin/core/imag-grep/src/lib.rs index ae75759b..8a04eaf3 100644 --- a/bin/core/imag-grep/src/lib.rs +++ b/bin/core/imag-grep/src/lib.rs @@ -95,6 +95,7 @@ impl ImagApplication for ImagGrep { .and_then_ok(|entry| { if pattern.is_match(entry.get_content()) { debug!("Matched: {}", entry.get_location()); + rt.report_touched(entry.get_location())?; show(&rt, &entry, &pattern, &opts, &mut count) } else { debug!("Not matched: {}", entry.get_location()); |