show correct auto complete value for nargs option in combination with flag option#2816
Merged
Rowlando13 merged 8 commits intopallets:stablefrom Aug 7, 2025
Merged
Conversation
f68161b to
c9e86aa
Compare
c9e86aa to
71cec9c
Compare
71cec9c to
952899e
Compare
Contributor
Author
|
@AndreasBackx Have we selected the correct bash branch for this PR? |
Collaborator
|
@msaipraneeth Please rebase onto stable. Thanks for your patience with changing the branch a lot. |
1e4b807 to
7fc3771
Compare
Contributor
Author
@Rowlando13 Rebased onto the stable branch. |
Collaborator
|
Just make an unreleased section at the top and add it. |
Contributor
Author
@Rowlando13 Done with the changes. PR is ready for review. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request resolves an issue in the autocompletion logic for options with nargs > 1 when combined with boolean options. Previously, autocompletion would suggest incorrect values, leading to confusion and an inconsistent user experience.
fixes #2813
should fail without the change.