-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
clap_complete: zsh completion doesn't add conflicts for group #3910
Comments
Is this problem still unsolved? |
With this being open, likely yes. |
@epage Thanks for your replay. |
I am not a zsh user and do not know its completion system to be able to say how to do this. I assume tmccombs verified that it supports conflicts but I'm not even sure. If it doesn't, then this is more likely to just be rejected. We are looking at changing our completion system which would make it easier to implement these rich features and do it once for all shells. See #3166. |
zsh does support conflicts. You can see an example of how it is done in the Basically, when calling From zshcompsys(1):
|
I have a panic with OSS hayabusa.
|
Please complete the following tasks
Rust Version
rustc 1.62.0 (a8314ef7d 2022-06-27)
Clap Version
3.2.6
Minimal reproducible code
Steps to reproduce the bug with the above code
Run code
Actual Behaviour
The zsh completions generated don't account for the conflict between the group and option c.
Expected Behaviour
The zsh completions should specify that the options in the group conflict with option c.
Additional Context
No response
Debug Output
No response
The text was updated successfully, but these errors were encountered: