You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run the above three binaries with sub -c foo args.
Clap2 gives correct, if not maximally helpful, error message:
error: Found argument '-c' which wasn't expected, or isn't valid in this context
USAGE:
clap-repro sub
Clap3 and clap4 give actively misleading error messages:
error: Found argument '-c' which wasn't expected, or isn't valid in this context
If you tried to supply `-c` as a value rather than a flag, use `-- -c`
USAGE:
clap-repro sub
error: Found argument '-c' which wasn't expected, or isn't valid in this context
If you tried to supply '-c' as a value rather than a flag, use '-- -c'
Usage: clap-repro sub
Actual Behaviour
Expected Behaviour
Additional Context
No response
Debug Output
No response
The text was updated successfully, but these errors were encountered:
Please complete the following tasks
Rust Version
rustc 1.64.0-beta.6 (25912c097 2022-09-09)
Clap Version
3.., 4..
Minimal reproducible code
Steps to reproduce the bug with the above code
Run the above three binaries with
sub -c foo
args.Clap2 gives correct, if not maximally helpful, error message:
Clap3 and clap4 give actively misleading error messages:
Actual Behaviour
Expected Behaviour
Additional Context
No response
Debug Output
No response
The text was updated successfully, but these errors were encountered: