remove validargs from group/virtual commands
This commit is contained in:
parent
62aefa0e3b
commit
776a49ba31
|
@ -140,7 +140,6 @@ func Execute(version string) error {
|
|||
}
|
||||
return errors.NotFound{Msg: errMessage, Group: []string{}}
|
||||
},
|
||||
ValidArgs: []string{""},
|
||||
RunE: func(cc *cobra.Command, args []string) error {
|
||||
if len(args) == 0 {
|
||||
if cc.Name() == "help" {
|
||||
|
|
Loading…
Reference in New Issue