Merge pull request #3907 from tertsdiepraam/chroot-allow-hyphen-values

`chroot`: set trailing var arg
This commit is contained in:
Sylvestre Ledru 2022-09-21 14:09:50 +02:00 committed by GitHub
commit adc4ecd856
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)