mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
co-authored by
Roy Ivy III
parent
5718af023b
commit
f55d8a22ec
@@ -217,7 +217,7 @@ pub fn uumain(args: impl uucore::Args) -> i32 {
|
||||
.arg(Arg::with_name(ARG_FILES).multiple(true).takes_value(true))
|
||||
.get_matches_from(args);
|
||||
|
||||
let mut paths: Vec<String> = matches
|
||||
let paths: Vec<String> = matches
|
||||
.values_of(ARG_FILES)
|
||||
.map(|v| v.map(ToString::to_string).collect())
|
||||
.unwrap_or_default();
|
||||
|
||||
Reference in New Issue
Block a user