Add ID reporting in imag-grep

This commit is contained in:
Matthias Beyer 2018-10-01 12:53:01 +02:00
parent ff809a3750
commit 4e5315b0e5

View file

@ -122,5 +122,9 @@ fn show(rt: &Runtime, e: &Entry, re: &Regex, opts: &Options, count: &mut usize)
let _ = writeln!(rt.stdout(), "").to_exit_code().unwrap_or_exit(); let _ = writeln!(rt.stdout(), "").to_exit_code().unwrap_or_exit();
*count += 1; *count += 1;
} }
let _ = rt
.report_touched(e.get_location())
.map_err_trace_exit_unwrap(1);
} }