1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-29 12:07:46 +00:00

gnu-tests/chcon_fail: fix test

This commit is contained in:
Niyaz Nigmatullin 2022-08-20 19:06:19 +03:00
parent d900b9abd6
commit 503e71bb51

View file

@ -357,7 +357,7 @@ fn parse_command_line(config: clap::Command, args: impl uucore::Args) -> Result<
// By default, do not preserve root.
let preserve_root = matches.contains_id(options::preserve_root::PRESERVE_ROOT);
let mut files = matches.get_many::<PathBuf>("FILE").unwrap_or_default();
let mut files = matches.get_many::<OsString>("FILE").unwrap_or_default();
let mode = if let Some(path) = matches.get_one::<OsString>(options::REFERENCE) {
CommandLineMode::ReferenceBased {