Error message should reference the short not long when short is used as arg #1249
Labels
A-help
Area: documentation, including docs.rs, readme, examples, etc...
A-parsing
Area: Parser's logic and needs it changed somehow.
A-validators
Area: ArgMatches validation logi
C-enhancement
Category: Raise on the bar on expectations
S-wont-fix
Status: Closed as there is no plan to fix this
Rust Version
1.25
Affected Version of clap
2.31.2
Expected Behavior Summary
Error should reference the short when used, not the long. Or at least also reference the short.
or
Actual Behavior Summary
If a long is included, the error always references the long even when short is used for args.
Sample Code or Link to Sample Code
The text was updated successfully, but these errors were encountered: