-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Console] Fix missing negative variation of negatable options in shell completion #46386
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
Conversation
1d7cdd1
to
273c505
Compare
273c505
to
a3da680
Compare
appveyor error not related to this PR: |
That's a new feature, so 6.2. |
Well, to me, that's a bugfix of the completion of option names |
I agree it's a bugfix. |
No, it's not. Even the description is clear about that: "Add negation of negatable options". Adding something is not a bug fix (or at least, not anymore). |
Well, the same description could be written as "ensure that all option names are completable for negatable options" |
Yea, I thought the same when reading the description. My reasoning is that completion should seamlessly handle any kind of option, otherwise it's buggy. |
Shell completion is a form of documentation of the available options. Not suggesting the negative form |
I think the tester should be fixed also.
|
This PR was squashed before being merged into the 6.1 branch. Discussion ---------- [Console] Complete negatable options (Fish) | Q | A | ------------- | --- | Branch? | 6.1 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | n/a | License | MIT | Doc PR | n/a Same as #46386 for Fish (introduced in 6.1). Commits ------- 02b7b52 [Console] Complete negatable options (Fish)
Thank you @GromNaN. |
Add negation of negatable options in bash completion output.
2nd PR for Fish, targeting branch 6.1: #46387