diff --git a/pkg/cmd/pr/list/list.go b/pkg/cmd/pr/list/list.go index eb3fd9606..97b48f8f6 100644 --- a/pkg/cmd/pr/list/list.go +++ b/pkg/cmd/pr/list/list.go @@ -85,7 +85,7 @@ func NewCmdList(f *cmdutil.Factory, runF func(*ListOptions) error) *cobra.Comman cmd.Flags().IntVarP(&opts.LimitResults, "limit", "L", 30, "Maximum number of items to fetch") cmd.Flags().StringVarP(&opts.State, "state", "s", "open", "Filter by state: {open|closed|merged|all}") cmd.RegisterFlagCompletionFunc("state", func(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective) { - return []string{"open", "merged", "closed", "all"}, cobra.ShellCompDirectiveNoSpace + return []string{"open", "closed", "merged", "all"}, cobra.ShellCompDirectiveNoSpace }) cmd.Flags().StringVarP(&opts.BaseBranch, "base", "B", "", "Filter by base branch")