summaryrefslogtreecommitdiffstats
path: root/imag-todo
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2016-08-06 10:11:42 +0200
committerMatthias Beyer <mail@beyermatthias.de>2016-08-06 10:11:42 +0200
commit0d2cd16e940ad4f7ea6b0836032a6c6c37c7908d (patch)
treec6507f2a5d850d5f4b0c4c06505b324421bd1164 /imag-todo
parentd0592d002956468fee6c9edd994667541ea97ccb (diff)
Print the imported string before the information output
Diffstat (limited to 'imag-todo')
-rw-r--r--imag-todo/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/imag-todo/src/main.rs b/imag-todo/src/main.rs
index cde1268d..e373d3f7 100644
--- a/imag-todo/src/main.rs
+++ b/imag-todo/src/main.rs
@@ -50,7 +50,7 @@ fn tw_hook(rt: &Runtime) {
let stdin = stdin.lock(); // implements BufRead which is required for `Task::import()`
match Task::import(rt.store(), stdin) {
- Ok((_, uuid)) => info!("Task {} stored in imag", uuid),
+ Ok((_, line, uuid)) => info!("{}\nTask {} stored in imag", line, uuid),
Err(e) => {
trace_error(&e);
exit(1);