Add isDraft to search prs json options, matching pr view (#6704)
This commit is contained in:
parent
4fd56ac7c1
commit
eadc8e8372
3 changed files with 34 additions and 14 deletions
|
|
@ -122,7 +122,7 @@ func NewCmdPrs(f *cmdutil.Factory, runF func(*shared.IssuesOptions) error) *cobr
|
|||
}
|
||||
|
||||
// Output flags
|
||||
cmdutil.AddJSONFlags(cmd, &opts.Exporter, search.IssueFields)
|
||||
cmdutil.AddJSONFlags(cmd, &opts.Exporter, search.PullRequestFields)
|
||||
cmd.Flags().BoolVarP(&opts.WebMode, "web", "w", false, "Open the search query in the web browser")
|
||||
|
||||
// Query parameter flags
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue