From 4de22dd218db765d2d04959183d8c8b97653f006 Mon Sep 17 00:00:00 2001 From: Marc Khouzam Date: Fri, 29 May 2020 14:58:52 -0400 Subject: [PATCH] fix(doc): generic description for --version/verify The flags added by addChartPathOptionsFlags() are used for `helm install` and `helm upgrade` but also for `helm template`, `helm show` and `helm pull`. Because of the latter three, we should not use the word 'install' in the description of the --version and --verify flags. Signed-off-by: Marc Khouzam --- cmd/helm/flags.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/helm/flags.go b/cmd/helm/flags.go index 246cb0dd5..6b9c3050b 100644 --- a/cmd/helm/flags.go +++ b/cmd/helm/flags.go @@ -41,8 +41,8 @@ func addValueOptionsFlags(f *pflag.FlagSet, v *values.Options) { } func addChartPathOptionsFlags(f *pflag.FlagSet, c *action.ChartPathOptions) { - f.StringVar(&c.Version, "version", "", "specify the exact chart version to install. If this is not specified, the latest version is installed") - f.BoolVar(&c.Verify, "verify", false, "verify the package before installing it") + f.StringVar(&c.Version, "version", "", "specify the exact chart version to use. If this is not specified, the latest version is used") + f.BoolVar(&c.Verify, "verify", false, "verify the package before using it") f.StringVar(&c.Keyring, "keyring", defaultKeyring(), "location of public keys used for verification") f.StringVar(&c.RepoURL, "repo", "", "chart repository url where to locate the requested chart") f.StringVar(&c.Username, "username", "", "chart repository username where to locate the requested chart")