From 4c9a47892e79f18426ce38da3b7bde927a749ff6 Mon Sep 17 00:00:00 2001 From: Tamal Saha Date: Wed, 21 Mar 2018 11:57:10 -0700 Subject: [PATCH] Rename --analytics to --enable-analytics (#384) --- root.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root.go b/root.go index 37959fca3..e37c8a8df 100644 --- a/root.go +++ b/root.go @@ -49,7 +49,7 @@ func NewRootCmd() *cobra.Command { rootCmd.PersistentFlags().AddGoFlagSet(flag.CommandLine) // ref: https://github.com/kubernetes/kubernetes/issues/17162#issuecomment-225596212 flag.CommandLine.Parse([]string{}) - rootCmd.PersistentFlags().BoolVar(&util.EnableAnalytics, "analytics", util.EnableAnalytics, "Send analytical events to Google Analytics") + rootCmd.PersistentFlags().BoolVar(&util.EnableAnalytics, "enable-analytics", util.EnableAnalytics, "Send analytical events to Google Analytics") rootCmd.AddCommand(v.NewCmdVersion()) stopCh := genericapiserver.SetupSignalHandler()