-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
With CARGO_COMPLETE
, --target
, --bin
, etc show both values and flags
#14606
Comments
Options
|
Combined with clap-rs/clap#5752, this makes it harder to see relevant completions on zsh |
CARGO_COMPLETE
, --target
, --bin
, etc show both values and falgsCARGO_COMPLETE
, --target
, --bin
, etc show both values and flags
The Cargo team talked about this. Its not great we lie to clap to get the error reporting we want. If we want to keep our quality of errors is to then have a way to annotate clap with possible values that are dynamically generated from arg matches. On clap's side, it wouldn't work to be context-aware because we validate Another idea is to support |
For example
The text was updated successfully, but these errors were encountered: