Skip to content

Commit 665f552

Browse files
committed
Small reordering
1 parent 0179651 commit 665f552

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/cmd/pr/list/list.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ func NewCmdList(f *cmdutil.Factory, runF func(*ListOptions) error) *cobra.Comman
8585
cmd.Flags().IntVarP(&opts.LimitResults, "limit", "L", 30, "Maximum number of items to fetch")
8686
cmd.Flags().StringVarP(&opts.State, "state", "s", "open", "Filter by state: {open|closed|merged|all}")
8787
cmd.RegisterFlagCompletionFunc("state", func(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective) {
88-
return []string{"open", "merged", "closed", "all"}, cobra.ShellCompDirectiveNoSpace
88+
return []string{"open", "closed", "merged", "all"}, cobra.ShellCompDirectiveNoSpace
8989
})
9090

9191
cmd.Flags().StringVarP(&opts.BaseBranch, "base", "B", "", "Filter by base branch")

0 commit comments

Comments
 (0)