From 30a049d12e1d377fd59c8d6920ea81434fe59a23 Mon Sep 17 00:00:00 2001 From: Adam Reese Date: Fri, 13 Apr 2018 13:53:52 -0700 Subject: [PATCH] ref(cmd): remove deprecated command --- cmd/helm/helm.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/cmd/helm/helm.go b/cmd/helm/helm.go index 28312ae96..1d4bf4ea3 100644 --- a/cmd/helm/helm.go +++ b/cmd/helm/helm.go @@ -117,9 +117,6 @@ func newRootCmd(args []string) *cobra.Command { // Hidden documentation generator command: 'helm docs' newDocsCmd(out), - - // Deprecated - markDeprecated(newRepoUpdateCmd(out), "use 'helm repo update'\n"), ) flags.Parse(args) @@ -145,11 +142,6 @@ func main() { } } -func markDeprecated(cmd *cobra.Command, notice string) *cobra.Command { - cmd.Deprecated = notice - return cmd -} - func setupConnection() error { if settings.TillerHost == "" { config, client, err := getKubeClient(settings.KubeContext)