diff --git a/cmd/helm/plugin_update.go b/cmd/helm/plugin_update.go index e2f6ad460..64e8bd6c7 100644 --- a/cmd/helm/plugin_update.go +++ b/cmd/helm/plugin_update.go @@ -35,8 +35,9 @@ type pluginUpdateOptions struct { func newPluginUpdateCmd(out io.Writer) *cobra.Command { o := &pluginUpdateOptions{} cmd := &cobra.Command{ - Use: "update ...", - Short: "update one or more Helm plugins", + Use: "update ...", + Aliases: []string{"up"}, + Short: "update one or more Helm plugins", PreRunE: func(cmd *cobra.Command, args []string) error { return o.complete(args) }, diff --git a/cmd/helm/repo_list.go b/cmd/helm/repo_list.go index 5abc73c09..b0050682a 100644 --- a/cmd/helm/repo_list.go +++ b/cmd/helm/repo_list.go @@ -31,9 +31,10 @@ import ( func newRepoListCmd(out io.Writer) *cobra.Command { var output string cmd := &cobra.Command{ - Use: "list", - Short: "list chart repositories", - Args: require.NoArgs, + Use: "list", + Aliases: []string{"ls"}, + Short: "list chart repositories", + Args: require.NoArgs, RunE: func(cmd *cobra.Command, args []string) error { // validate the output format first so we don't waste time running a // request that we'll throw away