mirror of
https://github.com/uutils/coreutils
synced 2024-12-13 06:42:42 +00:00
Fix clippy::flat_map_option.
This commit is contained in:
parent
392344c93a
commit
3c26dd869e
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue