fix pflag error lint

Signed-off-by: zhaque44 <haque.zubair@gmail.com>
This commit is contained in:
zhaque44 2025-09-04 09:31:47 -05:00
parent a9594eb158
commit a6b94a182d
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ func NewRootCmd(globalConfig *config.GlobalOptions) (*cobra.Command, error) {
// Set the global options for the root command. // Set the global options for the root command.
setGlobalOptionsForRootCmd(flags, globalConfig) setGlobalOptionsForRootCmd(flags, globalConfig)
flags.ParseErrorsWhitelist.UnknownFlags = true flags.ParseErrorsAllowlist.UnknownFlags = true
globalImpl := config.NewGlobalImpl(globalConfig) globalImpl := config.NewGlobalImpl(globalConfig)