From f20b4d174bcea4655cf1e4308947d4f86a70ea29 Mon Sep 17 00:00:00 2001 From: Mujib Ahasan Date: Wed, 11 Feb 2026 16:43:29 +0530 Subject: [PATCH 1/2] --all/-a flag added to helm list command Signed-off-by: Mujib Ahasan --- pkg/cmd/list.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/cmd/list.go b/pkg/cmd/list.go index 3c15a0954..bd0d324f7 100644 --- a/pkg/cmd/list.go +++ b/pkg/cmd/list.go @@ -134,8 +134,11 @@ func newListCmd(cfg *action.Configuration, out io.Writer) *cobra.Command { f.IntVar(&client.Offset, "offset", 0, "next release index in the list, used to offset from start value") f.StringVarP(&client.Filter, "filter", "f", "", "a regular expression (Perl compatible). Any releases that match the expression will be included in the results") f.StringVarP(&client.Selector, "selector", "l", "", "Selector (label query) to filter on, supports '=', '==', and '!='.(e.g. -l key1=value1,key2=value2). Works only for secret(default) and configmap storage backends.") + f.BoolVarP(&client.All, "all", "a", false, "show all releases without any filter applied") bindOutputFlag(cmd, &outfmt) + f.MarkDeprecated("all", "this flag is no longer needed; 'helm list' shows all releases by default and it will be removed in a future release") + return cmd } From 172ff6fced9355cb297a3988fcb4fa9c9ebabfae Mon Sep 17 00:00:00 2001 From: Mujib Ahasan Date: Sat, 14 Feb 2026 00:32:30 +0530 Subject: [PATCH 2/2] change the default to true Signed-off-by: Mujib Ahasan --- pkg/cmd/list.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkg/cmd/list.go b/pkg/cmd/list.go index bd0d324f7..360f0dfb5 100644 --- a/pkg/cmd/list.go +++ b/pkg/cmd/list.go @@ -134,10 +134,9 @@ func newListCmd(cfg *action.Configuration, out io.Writer) *cobra.Command { f.IntVar(&client.Offset, "offset", 0, "next release index in the list, used to offset from start value") f.StringVarP(&client.Filter, "filter", "f", "", "a regular expression (Perl compatible). Any releases that match the expression will be included in the results") f.StringVarP(&client.Selector, "selector", "l", "", "Selector (label query) to filter on, supports '=', '==', and '!='.(e.g. -l key1=value1,key2=value2). Works only for secret(default) and configmap storage backends.") - f.BoolVarP(&client.All, "all", "a", false, "show all releases without any filter applied") + f.BoolVarP(&client.All, "all", "a", true, "show all releases without any filter applied") bindOutputFlag(cmd, &outfmt) - - f.MarkDeprecated("all", "this flag is no longer needed; 'helm list' shows all releases by default and it will be removed in a future release") + f.MarkHidden("all") return cmd }