mirror of
https://github.com/uutils/coreutils
synced 2024-12-13 23:02:38 +00:00
fix: add arg count for cp
This commit is contained in:
parent
af86aee6b8
commit
5b1d4d9bdc
1 changed files with 2 additions and 0 deletions
|
@ -677,6 +677,8 @@ pub fn uu_app() -> Command {
|
|||
.arg(
|
||||
Arg::new(options::PATHS)
|
||||
.action(ArgAction::Append)
|
||||
.num_args(1..)
|
||||
.required(true)
|
||||
.value_hint(clap::ValueHint::AnyPath)
|
||||
.value_parser(ValueParser::os_string()),
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue