From d5765973919a683237cd9b1a4c06839011cfa8ce Mon Sep 17 00:00:00 2001 From: yxxhero Date: Sun, 18 Sep 2022 12:34:12 +0800 Subject: [PATCH] debug Signed-off-by: yxxhero --- cmd/helm/root.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/helm/root.go b/cmd/helm/root.go index 1f2261a02..4e8d38b1e 100644 --- a/cmd/helm/root.go +++ b/cmd/helm/root.go @@ -151,6 +151,8 @@ func newRootCmd(actionConfig *action.Configuration, out io.Writer, args []string // execution. flags.ParseErrorsWhitelist.UnknownFlags = true + flags.Parse(args) + registryClient, err := registry.NewClient( registry.ClientOptDebug(settings.Debug), registry.ClientOptEnableCache(true),