From a6b94a182dc902b49c067395855bb31c2c10d652 Mon Sep 17 00:00:00 2001 From: zhaque44 Date: Thu, 4 Sep 2025 09:31:47 -0500 Subject: [PATCH] fix pflag error lint Signed-off-by: zhaque44 --- cmd/root.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/root.go b/cmd/root.go index ed629d12..bb4dd64f 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -76,7 +76,7 @@ func NewRootCmd(globalConfig *config.GlobalOptions) (*cobra.Command, error) { // Set the global options for the root command. setGlobalOptionsForRootCmd(flags, globalConfig) - flags.ParseErrorsWhitelist.UnknownFlags = true + flags.ParseErrorsAllowlist.UnknownFlags = true globalImpl := config.NewGlobalImpl(globalConfig)