mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-30 12:37:49 +00:00
gnu-tests/chcon_fail: fix test
This commit is contained in:
parent
d900b9abd6
commit
503e71bb51
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.
|
// By default, do not preserve root.
|
||||||
let preserve_root = matches.contains_id(options::preserve_root::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) {
|
let mode = if let Some(path) = matches.get_one::<OsString>(options::REFERENCE) {
|
||||||
CommandLineMode::ReferenceBased {
|
CommandLineMode::ReferenceBased {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue