From fdf5345616567a538500c585c206c8903b554934 Mon Sep 17 00:00:00 2001 From: Josh Woodcock Date: Mon, 7 Oct 2019 09:18:43 -0500 Subject: [PATCH] Fix addons list output format option --- cmd/minikube/cmd/config/addons_list.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/minikube/cmd/config/addons_list.go b/cmd/minikube/cmd/config/addons_list.go index 72aadadc22ea..ddc207ae08ee 100644 --- a/cmd/minikube/cmd/config/addons_list.go +++ b/cmd/minikube/cmd/config/addons_list.go @@ -52,7 +52,7 @@ var addonsListCmd = &cobra.Command{ } func init() { - AddonsCmd.Flags().StringVar(&addonListFormat, "format", defaultAddonListFormat, + addonsListCmd.Flags().StringVar(&addonListFormat, "format", defaultAddonListFormat, `Go template format string for the addon list output. The format for Go templates can be found here: https://golang.org/pkg/text/template/ For the list of accessible variables for the template, see the struct values here: https://godoc.org/k8s.io/minikube/cmd/minikube/cmd/config#AddonListTemplate`) AddonsCmd.AddCommand(addonsListCmd)