mirror of
https://github.com/uutils/coreutils
synced 2024-12-13 23:02:38 +00:00
Merge pull request #3907 from tertsdiepraam/chroot-allow-hyphen-values
`chroot`: set trailing var arg
This commit is contained in:
commit
adc4ecd856
1 changed files with 1 additions and 0 deletions
|
@ -105,6 +105,7 @@ pub fn uu_app<'a>() -> Command<'a> {
|
|||
.about(ABOUT)
|
||||
.override_usage(format_usage(USAGE))
|
||||
.infer_long_args(true)
|
||||
.trailing_var_arg(true)
|
||||
.arg(
|
||||
Arg::new(options::NEWROOT)
|
||||
.value_hint(clap::ValueHint::DirPath)
|
||||
|
|
Loading…
Reference in a new issue