From c8b8c1e6d635c55fbf2c548c465cf6eafcf18692 Mon Sep 17 00:00:00 2001 From: willise Date: Tue, 6 Jun 2017 10:45:22 +0800 Subject: [PATCH] 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. --- cmd/helm/repo_update.go | 2 +- docs/helm/helm_repo.md | 2 +- docs/helm/helm_repo_update.md | 2 +- docs/man/man1/helm_repo_update.1 | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cmd/helm/repo_update.go b/cmd/helm/repo_update.go index 9ba42caf5..5e710a267 100644 --- a/cmd/helm/repo_update.go +++ b/cmd/helm/repo_update.go @@ -55,7 +55,7 @@ func newRepoUpdateCmd(out io.Writer) *cobra.Command { cmd := &cobra.Command{ Use: "update", 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, RunE: func(cmd *cobra.Command, args []string) error { u.home = settings.Home diff --git a/docs/helm/helm_repo.md b/docs/helm/helm_repo.md index 150b565fa..3378a1850 100644 --- a/docs/helm/helm_repo.md +++ b/docs/helm/helm_repo.md @@ -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 list](helm_repo_list.md) - list chart repositories * [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 diff --git a/docs/helm/helm_repo_update.md b/docs/helm/helm_repo_update.md index 98e443e59..3758f822f 100644 --- a/docs/helm/helm_repo_update.md +++ b/docs/helm/helm_repo_update.md @@ -1,6 +1,6 @@ ## helm repo update -update information on available charts in the chart repositories +update information of available charts locally from chart repositories ### Synopsis diff --git a/docs/man/man1/helm_repo_update.1 b/docs/man/man1/helm_repo_update.1 index 2c0b9d338..42bf511dd 100644 --- a/docs/man/man1/helm_repo_update.1 +++ b/docs/man/man1/helm_repo_update.1 @@ -5,7 +5,7 @@ .SH NAME .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