Skip to content

Commit 4c9a478

Browse files
authored
Rename --analytics to --enable-analytics (#384)
1 parent 7ea2220 commit 4c9a478

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ func NewRootCmd() *cobra.Command {
4949
rootCmd.PersistentFlags().AddGoFlagSet(flag.CommandLine)
5050
// ref: https://github.com/kubernetes/kubernetes/issues/17162#issuecomment-225596212
5151
flag.CommandLine.Parse([]string{})
52-
rootCmd.PersistentFlags().BoolVar(&util.EnableAnalytics, "analytics", util.EnableAnalytics, "Send analytical events to Google Analytics")
52+
rootCmd.PersistentFlags().BoolVar(&util.EnableAnalytics, "enable-analytics", util.EnableAnalytics, "Send analytical events to Google Analytics")
5353

5454
rootCmd.AddCommand(v.NewCmdVersion())
5555
stopCh := genericapiserver.SetupSignalHandler()

0 commit comments

Comments
 (0)