From b2518653c228e59466bdffd97937444a6223157f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Lindh=C3=A9?= Date: Sat, 4 Apr 2020 16:04:29 +0200 Subject: [PATCH] Don't stop completion after first repo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Andreas Lindhé --- cmd/helm/repo_remove.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/cmd/helm/repo_remove.go b/cmd/helm/repo_remove.go index 1cd2b0cf0..2e4f08e85 100644 --- a/cmd/helm/repo_remove.go +++ b/cmd/helm/repo_remove.go @@ -55,9 +55,6 @@ func newRepoRemoveCmd(out io.Writer) *cobra.Command { // Function providing dynamic auto-completion completion.RegisterValidArgsFunc(cmd, func(cmd *cobra.Command, args []string, toComplete string) ([]string, completion.BashCompDirective) { - if len(args) != 0 { - return nil, completion.BashCompDirectiveNoFileComp - } return compListRepos(toComplete), completion.BashCompDirectiveNoFileComp })