mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-29 03:57:44 +00:00
Merge pull request #3857 from niyaznigmatullin/fix_chcon_fail
Fix GNU `tests/misc/chcon-fail.sh` test
This commit is contained in:
commit
a07dba9b27
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue