Do not print "Ok" after successful execution
This commit is contained in:
parent
edd5925f88
commit
9f48071e48
8 changed files with 0 additions and 17 deletions
|
@ -94,8 +94,6 @@ fn add(rt: &Runtime) {
|
|||
.map_err_trace_exit_unwrap(1)
|
||||
.edit_content(&rt)
|
||||
.map_err_trace_exit_unwrap(1);
|
||||
|
||||
info!("Ok");
|
||||
}
|
||||
|
||||
fn remove(rt: &Runtime) {
|
||||
|
@ -130,8 +128,6 @@ fn remove(rt: &Runtime) {
|
|||
} else {
|
||||
debug!("Not deleting annotation object");
|
||||
}
|
||||
|
||||
info!("Ok");
|
||||
}
|
||||
|
||||
fn list(rt: &Runtime) {
|
||||
|
@ -163,8 +159,6 @@ fn list(rt: &Runtime) {
|
|||
.collect::<Vec<_>>();
|
||||
}
|
||||
}
|
||||
|
||||
info!("Ok");
|
||||
}
|
||||
|
||||
fn list_annotation<'a>(i: usize, a: FileLockEntry<'a>, with_text: bool) {
|
||||
|
|
|
@ -80,7 +80,5 @@ fn main() {
|
|||
let _ = entry
|
||||
.edit_content(&rt)
|
||||
.map_err_trace_exit_unwrap(1);
|
||||
|
||||
info!("Ok");
|
||||
}
|
||||
|
||||
|
|
|
@ -138,8 +138,6 @@ fn remove(rt: &Runtime) {
|
|||
if scmd.is_present("print-removed") {
|
||||
println!("{}", removed_value);
|
||||
}
|
||||
|
||||
info!("Ok");
|
||||
}
|
||||
|
||||
fn get(rt: &Runtime) {
|
||||
|
@ -166,6 +164,5 @@ fn get(rt: &Runtime) {
|
|||
});
|
||||
|
||||
println!("{}", value);
|
||||
info!("Ok");
|
||||
}
|
||||
|
||||
|
|
|
@ -149,8 +149,6 @@ fn link_from_to<'a, I>(rt: &'a Runtime, from: &'a str, to: I)
|
|||
|
||||
info!("Ok: {} -> {}", from, entry);
|
||||
}
|
||||
|
||||
info!("Ok");
|
||||
}
|
||||
|
||||
fn remove_linking(rt: &Runtime) {
|
||||
|
|
|
@ -86,7 +86,6 @@ fn add(rt: &Runtime) {
|
|||
match RefStore::create(rt.store(), path, flags) {
|
||||
Ok(r) => {
|
||||
debug!("Reference created: {:?}", r);
|
||||
info!("Ok");
|
||||
},
|
||||
Err(e) => {
|
||||
trace_error(&e);
|
||||
|
|
|
@ -196,7 +196,6 @@ fn show(rt: &Runtime) {
|
|||
|
||||
let s = show_format.render("format", &data).map_err_trace_exit_unwrap(1);
|
||||
println!("{}", s);
|
||||
info!("Ok");
|
||||
}
|
||||
|
||||
fn get_contact_print_format(config_value_path: &'static str, rt: &Runtime, scmd: &ArgMatches) -> Handlebars {
|
||||
|
|
|
@ -136,7 +136,6 @@ fn create(rt: &Runtime) {
|
|||
};
|
||||
|
||||
hb.build(rt.store()).map_err_trace_exit_unwrap(1);
|
||||
info!("Ok");
|
||||
}
|
||||
|
||||
fn delete(rt: &Runtime) {
|
||||
|
|
|
@ -87,7 +87,6 @@ fn main() {
|
|||
*fle.get_content_mut() = text;
|
||||
})
|
||||
.map_err_trace_exit_unwrap(1);
|
||||
info!("Ok");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue