Fix: Also print if runtime ignores IDs

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
Matthias Beyer 2019-02-15 19:13:29 +01:00
parent 45cb122f53
commit 2611583839

View file

@ -288,7 +288,7 @@ fn find(rt: &Runtime) {
}) })
.enumerate(); .enumerate();
if !rt.output_is_pipe() { if !rt.output_is_pipe() || rt.ignore_ids() {
if scmd.is_present("json") { if scmd.is_present("json") {
let v : Vec<DeserVcard> = iterator.map(|(_, tlp)| tlp.1).collect(); let v : Vec<DeserVcard> = iterator.map(|(_, tlp)| tlp.1).collect();