mirror of
https://github.com/clap-rs/clap
synced 2024-12-14 14:52:33 +00:00
fix(errors): return correct error type in WrongNumValues error builder
This commit is contained in:
parent
f2e4159831
commit
5ba8ba9dcc
1 changed files with 1 additions and 1 deletions
|
@ -256,7 +256,7 @@ pub mod error_builder {
|
|||
suffix.as_ref(),
|
||||
usage.as_ref(),
|
||||
Format::Good("--help")),
|
||||
error_type: cet::InvalidSubcommand,
|
||||
error_type: cet::WrongNumValues,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue