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 })