Skip to content

Commit aa64bb5

Browse files
committed
docs(pr list): mention --head does not support <owner>:<branch> syntax
Signed-off-by: Babak K. Shandiz <babakks@github.com>
1 parent b70f9c1 commit aa64bb5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/cmd/pr/list/list.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ func NewCmdList(f *cmdutil.Factory, runF func(*ListOptions) error) *cobra.Comman
105105
cmd.Flags().IntVarP(&opts.LimitResults, "limit", "L", 30, "Maximum number of items to fetch")
106106
cmdutil.StringEnumFlag(cmd, &opts.State, "state", "s", "open", []string{"open", "closed", "merged", "all"}, "Filter by state")
107107
cmd.Flags().StringVarP(&opts.BaseBranch, "base", "B", "", "Filter by base branch")
108-
cmd.Flags().StringVarP(&opts.HeadBranch, "head", "H", "", "Filter by head branch")
108+
cmd.Flags().StringVarP(&opts.HeadBranch, "head", "H", "", `Filter by head branch ("<owner>:<branch>" syntax not supported)`)
109109
cmd.Flags().StringSliceVarP(&opts.Labels, "label", "l", nil, "Filter by label")
110110
cmd.Flags().StringVarP(&opts.Author, "author", "A", "", "Filter by author")
111111
cmd.Flags().StringVar(&appAuthor, "app", "", "Filter by GitHub App author")

0 commit comments

Comments
 (0)