Add id reporting in imag-grep
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
parent
57a8341b9c
commit
18ec736503
1 changed files with 1 additions and 0 deletions
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue