We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b5eb9f0 + 979677c commit b9ff94cCopy full SHA for b9ff94c
cmd/fleet/cli/root.go
@@ -37,7 +37,7 @@ func RootCmd() *cobra.Command {
37
}
38
cobra.OnInitialize(initConfig)
39
KubernetesConfigFlags = genericclioptions.NewConfigFlags(false)
40
- KubernetesConfigFlags.AddFlags(cmd.Flags())
+ KubernetesConfigFlags.AddFlags(cmd.PersistentFlags())
41
viper.SetEnvKeyReplacer(strings.NewReplacer("-", "_"))
42
return cmd
43
0 commit comments