Commit c8b8c1e6 authored by willise's avatar willise

fix(helm): modify `helm repo update` help info

The former help info may cause misunderstanding that this command
can update content of charts existing in remote respositories while
it does pull charts' info from remote repositories.

This trivial modification leads better understanding.
parent 82723606
...@@ -55,7 +55,7 @@ func newRepoUpdateCmd(out io.Writer) *cobra.Command { ...@@ -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: ...@@ -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
## 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 @@ ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment