File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ func NewCmdView(f *cmdutil.Factory, runF func(*ViewOptions) error) *cobra.Comman
4848
4949 Without an argument, the pull request that belongs to the current branch
5050 is displayed.
51-
51+
5252 With '--web', open the pull request in a web browser instead.
5353 ` ),
5454 Args : cobra .MaximumNArgs (1 ),
@@ -114,6 +114,8 @@ func printRawPrPreview(out io.Writer, pr *api.PullRequest) error {
114114 fmt .Fprintf (out , "reviewers:\t %s\n " , reviewers )
115115 fmt .Fprintf (out , "projects:\t %s\n " , projects )
116116 fmt .Fprintf (out , "milestone:\t %s\n " , pr .Milestone .Title )
117+ fmt .Fprintf (out , "number:\t %d\n " , pr .Number )
118+ fmt .Fprintf (out , "url:\t %s\n " , pr .URL )
117119
118120 fmt .Fprintln (out , "--" )
119121 fmt .Fprintln (out , pr .Body )
You can’t perform that action at this time.
0 commit comments