Add ID reporting in imag-grep
This commit is contained in:
parent
ff809a3750
commit
4e5315b0e5
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue