diff --git a/src/uu/ls/src/ls.rs b/src/uu/ls/src/ls.rs index 7c8c3b444..232250dcf 100644 --- a/src/uu/ls/src/ls.rs +++ b/src/uu/ls/src/ls.rs @@ -831,7 +831,7 @@ impl Config { options::FULL_TIME, ] .iter() - .flat_map(|opt| { + .filter_map(|opt| { if options.value_source(opt) == Some(clap::parser::ValueSource::CommandLine) { options.indices_of(opt) } else {