diff --git a/cmd/tiller/tiller.go b/cmd/tiller/tiller.go index 92c2876f5..9dbbd31ae 100644 --- a/cmd/tiller/tiller.go +++ b/cmd/tiller/tiller.go @@ -68,10 +68,10 @@ var rootCommand = &cobra.Command{ } func main() { - pf := rootCommand.PersistentFlags() - pf.StringVarP(&grpcAddr, "listen", "l", ":44134", "address:port to listen on") - pf.StringVar(&store, "storage", storageConfigMap, "storage driver to use. One of 'configmap' or 'memory'") - pf.BoolVar(&enableTracing, "trace", false, "enable rpc tracing") + p := rootCommand.PersistentFlags() + p.StringVarP(&grpcAddr, "listen", "l", ":44134", "address:port to listen on") + p.StringVar(&store, "storage", storageConfigMap, "storage driver to use. One of 'configmap' or 'memory'") + p.BoolVar(&enableTracing, "trace", false, "enable rpc tracing") rootCommand.Execute() }