imag/bin/domain/imag-diary/src
Matthias Beyer 03fec5f4db List diaries only if output is not a pipe
Beforehand, this command:

    imag diary -d foo list | cat

listed each entry twice because the reporting feature of libimagrt
forwarded the list to stdout and the normal output was written to
stderr.

With this patch, we get the output only once in this case.

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-07-21 10:42:27 +02:00
..
create.rs Run 'cargo fix' for rust-2018 2019-05-18 00:20:59 +02:00
delete.rs Run 'cargo fix' for rust-2018 2019-05-18 00:20:59 +02:00
list.rs List diaries only if output is not a pipe 2019-07-21 10:42:27 +02:00
main.rs Run 'cargo fix' for rust-2018 2019-05-18 00:20:59 +02:00
ui.rs Update copyright years 2019-01-03 18:41:36 +01:00
util.rs Update copyright years 2019-01-03 18:41:36 +01:00
view.rs Fix imag-diary to ignore broken pipes 2019-05-30 11:12:47 +02:00