From 776a49ba31768d5c6d5b2ebcb1344809c1669e0c Mon Sep 17 00:00:00 2001 From: Roberto Hidalgo Date: Sat, 18 Mar 2023 19:30:49 -0600 Subject: [PATCH] remove validargs from group/virtual commands --- internal/registry/registry.go | 1 - 1 file changed, 1 deletion(-) diff --git a/internal/registry/registry.go b/internal/registry/registry.go index ebb76a6..9ff63f0 100644 --- a/internal/registry/registry.go +++ b/internal/registry/registry.go @@ -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" {