forked from spf13/cobra
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Complete subcommands when TraverseChildren is true in bash completion
The current bash completion logic does not complete subcommands when a local flag is set. There is also a bug where subcommands are sometimes still getting completed. see: spf13#1172 If TraverseChildren is true we should allow subcommands to be completed even if a local flag is set. Closes spf13#1172 Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
- Loading branch information
Paul Holzinger
committed
Jul 20, 2020
1 parent
7034e0c
commit a3adff6
Showing
2 changed files
with
33 additions
and
4 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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