feat(cmd): silence usage on error

Closes https://github.com/kubernetes/helm/issues/864
pull/900/head
Adam Reese 9 years ago
parent bb875b5657
commit 26de8ecb76

@ -69,6 +69,7 @@ var RootCommand = &cobra.Command{
Short: "The Helm package manager for Kubernetes.", Short: "The Helm package manager for Kubernetes.",
Long: globalUsage, Long: globalUsage,
PersistentPostRun: teardown, PersistentPostRun: teardown,
SilenceUsage: true,
} }
func init() { func init() {

Loading…
Cancel
Save