From 0d2cd16e940ad4f7ea6b0836032a6c6c37c7908d Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sat, 6 Aug 2016 10:11:42 +0200 Subject: [PATCH] Print the imported string before the information output --- imag-todo/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);