From 207b5294dbf4f6ff708dab13038a3b84ab48e9eb Mon Sep 17 00:00:00 2001 From: Filip Krakowski Date: Thu, 10 Aug 2023 12:40:58 +0200 Subject: [PATCH] Fix inconsistent flag name in error Signed-off-by: Filip Krakowski --- cmd/helm/create.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/helm/create.go b/cmd/helm/create.go index 683262153..3cdd92222 100644 --- a/cmd/helm/create.go +++ b/cmd/helm/create.go @@ -77,7 +77,7 @@ func newCreateCmd(out io.Writer) *cobra.Command { }, PreRunE: func(cmd *cobra.Command, args []string) error { if len(o.starter) == 0 && o.noOverride { - return errors.New("the -k/--keep-metadata flag can only be specified when using a starter") + return errors.New("the -o/--no-override flag can only be specified when using a starter") } return nil