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