From 43dad8b3c957d732b31d40fec9da773ab9edcc61 Mon Sep 17 00:00:00 2001 From: rocky-nupt Date: Fri, 20 Oct 2017 10:31:52 +0800 Subject: [PATCH] a --- cmd/helm/history.go | 2 +- cmd/helm/list.go | 2 +- docs/helm/helm_history.md | 2 +- docs/helm/helm_list.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cmd/helm/history.go b/cmd/helm/history.go index 69db8ea2f..43d188a3b 100644 --- a/cmd/helm/history.go +++ b/cmd/helm/history.go @@ -76,7 +76,7 @@ func newHistoryCmd(c helm.Interface, w io.Writer) *cobra.Command { f := cmd.Flags() f.Int32Var(&his.max, "max", 256, "maximum number of revision to include in history") - f.StringVar(&his.output, "output", "short", "specifies the output format") + f.StringVar(&his.output, "output", "short", "specifies the output format: short|wide") return cmd } diff --git a/cmd/helm/list.go b/cmd/helm/list.go index 06ce7442e..99cd8f6d0 100644 --- a/cmd/helm/list.go +++ b/cmd/helm/list.go @@ -113,7 +113,7 @@ func newListCmd(client helm.Interface, out io.Writer) *cobra.Command { f.BoolVar(&list.failed, "failed", false, "show failed releases") f.BoolVar(&list.pending, "pending", false, "show pending releases") f.StringVar(&list.namespace, "namespace", "", "show releases within a specific namespace") - f.StringVar(&list.output, "output", "short", "specifies the output format") + f.StringVar(&list.output, "output", "short", "specifies the output format: short|wide") // TODO: Do we want this as a feature of 'helm list'? //f.BoolVar(&list.superseded, "history", true, "show historical releases") diff --git a/docs/helm/helm_history.md b/docs/helm/helm_history.md index f7eed2640..23c8a6c11 100755 --- a/docs/helm/helm_history.md +++ b/docs/helm/helm_history.md @@ -29,7 +29,7 @@ helm history [flags] RELEASE_NAME ``` --max int32 maximum number of revision to include in history (default 256) - --output string specifies the output format (default "short") + --output string specifies the output format: short|wide (default "short") --tls enable TLS for request --tls-ca-cert string path to TLS CA certificate file (default "$HELM_HOME/ca.pem") --tls-cert string path to TLS certificate file (default "$HELM_HOME/cert.pem") diff --git a/docs/helm/helm_list.md b/docs/helm/helm_list.md index 4fa686a05..f18b31f39 100755 --- a/docs/helm/helm_list.md +++ b/docs/helm/helm_list.md @@ -48,7 +48,7 @@ helm list [flags] [FILTER] -m, --max int maximum number of releases to fetch (default 256) --namespace string show releases within a specific namespace -o, --offset string next release name in the list, used to offset from start value - --output string specifies the output format (default "short") + --output string specifies the output format: short|wide (default "short") --pending show pending releases -r, --reverse reverse the sort order -q, --short output short (quiet) listing format