diff options
Diffstat (limited to 'bin/domain/imag-todo/src/lib.rs')
-rw-r--r-- | bin/domain/imag-todo/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/domain/imag-todo/src/lib.rs b/bin/domain/imag-todo/src/lib.rs index 12712f09..f8611200 100644 --- a/bin/domain/imag-todo/src/lib.rs +++ b/bin/domain/imag-todo/src/lib.rs @@ -317,7 +317,7 @@ fn list_todos(rt: &Runtime, matcher: &StatusMatcher, show_hidden: bool) -> Resul }) .and_then_ok(|entry| { trace!("Processing {}", entry.get_location()); - if !rt.output_is_pipe() && (show_hidden || filter_hidden.filter(&entry)?) { + if (!rt.output_is_pipe() || rt.output_data_pipe()) && (show_hidden || filter_hidden.filter(&entry)?) { trace!("Printing {}", entry.get_location()); if let Err(e) = viewer.view_entry(&entry, &mut rt.stdout()) { use libimagentryview::error::Error; |