vendor: update spf13/cobra to fix arg parsing
This commit is contained in:
parent
8b61692754
commit
0c92a64bb3
7 changed files with 29 additions and 14 deletions
2
vendor/github.com/spf13/cobra/command.go
generated
vendored
2
vendor/github.com/spf13/cobra/command.go
generated
vendored
|
@ -1275,8 +1275,8 @@ func (c *Command) Parent() *Command {
|
|||
// mergePersistentFlags merges c.PersistentFlags() to c.Flags()
|
||||
// and adds missing persistent flags of all parents.
|
||||
func (c *Command) mergePersistentFlags() {
|
||||
c.Flags().AddFlagSet(c.PersistentFlags())
|
||||
c.updateParentsPflags()
|
||||
c.Flags().AddFlagSet(c.PersistentFlags())
|
||||
c.Flags().AddFlagSet(c.parentsPflags)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue