From 1ed490b4b4acdfc6cf017307ca489765497e7819 Mon Sep 17 00:00:00 2001 From: yxxhero Date: Sun, 18 Sep 2022 12:08:26 +0800 Subject: [PATCH] remove flag.Parse in root.go Signed-off-by: yxxhero --- cmd/helm/root.go | 1 - 1 file changed, 1 deletion(-) diff --git a/cmd/helm/root.go b/cmd/helm/root.go index ef92fea92..1f2261a02 100644 --- a/cmd/helm/root.go +++ b/cmd/helm/root.go @@ -150,7 +150,6 @@ func newRootCmd(actionConfig *action.Configuration, out io.Writer, args []string // This call is required to gather configuration information prior to // execution. flags.ParseErrorsWhitelist.UnknownFlags = true - flags.Parse(args) registryClient, err := registry.NewClient( registry.ClientOptDebug(settings.Debug),