remove validargs from group/virtual commands

This commit is contained in:
Roberto Hidalgo 2023-03-18 19:30:49 -06:00
parent 62aefa0e3b
commit 776a49ba31
1 changed files with 0 additions and 1 deletions

View File

@ -140,7 +140,6 @@ func Execute(version string) error {
} }
return errors.NotFound{Msg: errMessage, Group: []string{}} return errors.NotFound{Msg: errMessage, Group: []string{}}
}, },
ValidArgs: []string{""},
RunE: func(cc *cobra.Command, args []string) error { RunE: func(cc *cobra.Command, args []string) error {
if len(args) == 0 { if len(args) == 0 {
if cc.Name() == "help" { if cc.Name() == "help" {