diff --git a/bin/core/imag-gps/src/main.rs b/bin/core/imag-gps/src/main.rs index fac2d0c4..50c94f61 100644 --- a/bin/core/imag-gps/src/main.rs +++ b/bin/core/imag-gps/src/main.rs @@ -135,6 +135,10 @@ fn add(rt: &Runtime) { }) .set_coordinates(c.clone()) .map_err_trace_exit_unwrap(1); + + let _ = rt + .report_touched(&id) + .map_err_trace_exit_unwrap(1); }); } @@ -168,6 +172,10 @@ fn remove(rt: &Runtime) { if print_removed { let _ = writeln!(rt.stdout(), "{}", removed_value).to_exit_code().unwrap_or_exit(); } + + let _ = rt + .report_touched(&id) + .map_err_trace_exit_unwrap(1); }); } @@ -193,6 +201,10 @@ fn get(rt: &Runtime) { }); let _ = writeln!(stdout, "{}", value).to_exit_code().unwrap_or_exit(); + + let _ = rt + .report_touched(&id) + .map_err_trace_exit_unwrap(1); }) }