mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +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)
|
.about(ABOUT)
|
||||||
.override_usage(format_usage(USAGE))
|
.override_usage(format_usage(USAGE))
|
||||||
.infer_long_args(true)
|
.infer_long_args(true)
|
||||||
|
.trailing_var_arg(true)
|
||||||
.arg(
|
.arg(
|
||||||
Arg::new(options::NEWROOT)
|
Arg::new(options::NEWROOT)
|
||||||
.value_hint(clap::ValueHint::DirPath)
|
.value_hint(clap::ValueHint::DirPath)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue