Merge pull request #2543 from willise/modify-cmd-help

fix(helm): modify `helm repo update` help info
pull/2544/head
Taylor Thomas 8 years ago committed by GitHub
commit 83a2d7035a

@ -55,7 +55,7 @@ func newRepoUpdateCmd(out io.Writer) *cobra.Command {
cmd := &cobra.Command{ cmd := &cobra.Command{
Use: "update", Use: "update",
Aliases: []string{"up"}, Aliases: []string{"up"},
Short: "update information on available charts in the chart repositories", Short: "update information of available charts locally from chart repositories",
Long: updateDesc, Long: updateDesc,
RunE: func(cmd *cobra.Command, args []string) error { RunE: func(cmd *cobra.Command, args []string) error {
u.home = settings.Home u.home = settings.Home

@ -29,6 +29,6 @@ Example usage:
* [helm repo index](helm_repo_index.md) - generate an index file given a directory containing packaged charts * [helm repo index](helm_repo_index.md) - generate an index file given a directory containing packaged charts
* [helm repo list](helm_repo_list.md) - list chart repositories * [helm repo list](helm_repo_list.md) - list chart repositories
* [helm repo remove](helm_repo_remove.md) - remove a chart repository * [helm repo remove](helm_repo_remove.md) - remove a chart repository
* [helm repo update](helm_repo_update.md) - update information on available charts in the chart repositories * [helm repo update](helm_repo_update.md) - update information of available charts locally from chart repositories
###### Auto generated by spf13/cobra on 29-May-2017 ###### Auto generated by spf13/cobra on 29-May-2017

@ -1,6 +1,6 @@
## helm repo update ## helm repo update
update information on available charts in the chart repositories update information of available charts locally from chart repositories
### Synopsis ### Synopsis

@ -5,7 +5,7 @@
.SH NAME .SH NAME
.PP .PP
helm\-repo\-update \- update information on available charts in the chart repositories helm\-repo\-update \- update information of available charts locally from chart repositories
.SH SYNOPSIS .SH SYNOPSIS

Loading…
Cancel
Save