From 46275612c3430ceb374bd470d2b1648f4e2c1253 Mon Sep 17 00:00:00 2001
From: Maciej Strzelecki <maciej.strzelecki@gmail.com>
Date: Fri, 7 Jul 2017 11:26:37 +0200
Subject: [PATCH] feat(helm): add -a flag to 'helm list'

There's 'helm get values -a' already. I always try to use 'helm list -a'
spontaneously.
---
 cmd/helm/list.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmd/helm/list.go b/cmd/helm/list.go
index 391e83e20..e1e02296d 100644
--- a/cmd/helm/list.go
+++ b/cmd/helm/list.go
@@ -104,7 +104,7 @@ func newListCmd(client helm.Interface, out io.Writer) *cobra.Command {
 	f.BoolVarP(&list.sortDesc, "reverse", "r", false, "reverse the sort order")
 	f.IntVarP(&list.limit, "max", "m", 256, "maximum number of releases to fetch")
 	f.StringVarP(&list.offset, "offset", "o", "", "next release name in the list, used to offset from start value")
-	f.BoolVar(&list.all, "all", false, "show all releases, not just the ones marked DEPLOYED")
+	f.BoolVarP(&list.all, "all", "a", false, "show all releases, not just the ones marked DEPLOYED")
 	f.BoolVar(&list.deleted, "deleted", false, "show deleted releases")
 	f.BoolVar(&list.deleting, "deleting", false, "show releases that are currently being deleted")
 	f.BoolVar(&list.deployed, "deployed", false, "show deployed releases. If no other is specified, this will be automatically enabled")
-- 
GitLab