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.
The flag completion functions should be stored on their cmd struct and not the root cmd. Using the root cmd does not work when you create the cmd and add flags before you join this cmd struct to your parent command. Fixes spf13#1437 Signed-off-by: Paul Holzinger <pholzing@redhat.com>
- Loading branch information
Showing
1 changed file
with
5 additions
and
6 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