diff --git a/cmd/werf/helm/helm.go b/cmd/werf/helm/helm.go index 4bea310be5..1cade142d0 100644 --- a/cmd/werf/helm/helm.go +++ b/cmd/werf/helm/helm.go @@ -41,8 +41,9 @@ func NewCmd() *cobra.Command { actionConfig := new(action.Configuration) cmd := &cobra.Command{ - Use: "helm", - Short: "Manage application deployment with helm", + Use: "helm", + Short: "Manage application deployment with helm", + SilenceUsage: true, } ctx := common.GetContext() @@ -207,6 +208,9 @@ func NewCmd() *cobra.Command { } } + cmd.PersistentFlags().ParseErrorsWhitelist.UnknownFlags = true + cmd.PersistentFlags().Parse(os.Args[1:]) + return cmd }