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
In a refactor for clap-rs#3503, one of the checks for `is_hide_set` got flipped
and we are completing hidden `PossibleValue`s rather than visible.
Fixesclap-rs#3697
* The API changes are a mixed bag but look good overall
* Had to swap the failure exit codes (as clap now `exit(1)` instead of 2)
Keeping the old codes is possible, but doesn't seem worth the added complexity
See clap-rs/clap#3426
* Stumbled upon one shell completion regression, so pining an old clap_complete version for now
See clap-rs/clap#3697
* Subcommand completion no longer erroneously include `-V` and `--version`
* Help and diagnostic outputs seem a bit nicer
Please complete the following tasks
Rust Version
1.60.0
Clap Version
3.1.16 (clap) 3.1.3 (clap_complete)
Minimal reproducible code
Steps to reproduce the bug with the above code
cargo run | rg -C1 COMPREPLY
Actual Behaviour
Expected Behaviour
Additional Context
This is a regression introduced in
clap_complete 3.1.1
. Versions 3.1.0 and earlier (including 2.x series I'm currently upgrading from) are fine.Debug Output
No response
The text was updated successfully, but these errors were encountered: