summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2018-02-06 23:40:46 +0100
committerMatthias Beyer <mail@beyermatthias.de>2018-02-10 16:41:27 +0100
commit9f48071e4841780bef2e27047f605a08cd9190c0 (patch)
treee51b4194600d6763c3af8244f2680d094c0e0559
parentedd5925f8846b9216dcbc2bcab2950dfe6047fcd (diff)
downloadimag-9f48071e4841780bef2e27047f605a08cd9190c0.zip
imag-9f48071e4841780bef2e27047f605a08cd9190c0.tar.gz
Do not print "Ok" after successful execution
-rw-r--r--bin/core/imag-annotate/src/main.rs6
-rw-r--r--bin/core/imag-edit/src/main.rs2
-rw-r--r--bin/core/imag-gps/src/main.rs3
-rw-r--r--bin/core/imag-link/src/main.rs2
-rw-r--r--bin/core/imag-ref/src/main.rs1
-rw-r--r--bin/domain/imag-contact/src/main.rs1
-rw-r--r--bin/domain/imag-habit/src/main.rs1
-rw-r--r--bin/domain/imag-log/src/main.rs1
8 files changed, 0 insertions, 17 deletions
diff --git a/bin/core/imag-annotate/src/main.rs b/bin/core/imag-annotate/src/main.rs
index dc82edd..4bdd944 100644
--- a/bin/core/imag-annotate/src/main.rs
+++ b/bin/core/imag-annotate/src/main.rs
@@ -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) {
diff --git a/bin/core/imag-edit/src/main.rs b/bin/core/imag-edit/src/main.rs
index 3524359..bf05e8e 100644
--- a/bin/core/imag-edit/src/main.rs
+++ b/bin/core/imag-edit/src/main.rs
@@ -80,7 +80,5 @@ fn main() {
let _ = entry
.edit_content(&rt)
.map_err_trace_exit_unwrap(1);
-
- info!("Ok");
}
diff --git a/bin/core/imag-gps/src/main.rs b/bin/core/imag-gps/src/main.rs
index 00a8d21..eda98a1 100644
--- a/bin/core/imag-gps/src/main.rs
+++ b/bin/core/imag-gps/src/main.rs
@@ -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");
}
diff --git a/bin/core/imag-link/src/main.rs b/bin/core/imag-link/src/main.rs
index fe2fc09..40155f9 100644
--- a/bin/core/imag-link/src/main.rs
+++ b/bin/core/imag-link/src/main.rs
@@ -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) {
diff --git a/bin/core/imag-ref/src/main.rs b/bin/core/imag-ref/src/main.rs
index e781eef..3235d1c 100644
--- a/bin/core/imag-ref/src/main.rs
+++ b/bin/core/imag-ref/src/main.rs
@@ -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);
diff --git a/bin/domain/imag-contact/src/main.rs b/bin/domain/imag-contact/src/main.rs
index 68c920b..a6c3455 100644
--- a/bin/domain/imag-contact/src/main.rs
+++ b/bin/domain/imag-contact/src/main.rs
@@ -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 {
diff --git a/bin/domain/imag-habit/src/main.rs b/bin/domain/imag-habit/src/main.rs
index 6960107..f8fd12e 100644
--- a/bin/domain/imag-habit/src/main.rs
+++ b/bin/domain/imag-habit/src/main.rs
@@ -136,7 +136,6 @@ fn create(rt: &Runtime) {
};
hb.build(rt.store()).map_err_trace_exit_unwrap(1);
- info!("Ok");
}
fn delete(rt: &Runtime) {
diff --git a/bin/domain/imag-log/src/main.rs b/bin/domain/imag-log/src/main.rs
index 40a29fa..cf2e4c9 100644
--- a/bin/domain/imag-log/src/main.rs
+++ b/bin/domain/imag-log/src/main.rs
@@ -87,7 +87,6 @@ fn main() {
*fle.get_content_mut() = text;
})
.map_err_trace_exit_unwrap(1);
- info!("Ok");
}
}