diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2016-08-06 10:11:42 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2016-08-06 10:11:42 +0200 |
commit | 0d2cd16e940ad4f7ea6b0836032a6c6c37c7908d (patch) | |
tree | c6507f2a5d850d5f4b0c4c06505b324421bd1164 /imag-todo | |
parent | d0592d002956468fee6c9edd994667541ea97ccb (diff) |
Print the imported string before the information output
Diffstat (limited to 'imag-todo')
-rw-r--r-- | imag-todo/src/main.rs | 2 |
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); |