fix: add arg count for cp

This commit is contained in:
LoricAndre 2024-09-10 00:12:59 +02:00
parent af86aee6b8
commit 5b1d4d9bdc

View file

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