@@ -31,7 +31,7 @@ func init() {
3131 prListCmd .Flags ().StringSliceP ("label" , "l" , nil , "Filter by label" )
3232 prListCmd .Flags ().StringP ("assignee" , "a" , "" , "Filter by assignee" )
3333
34- prViewCmd .Flags ().BoolP ("web" , "w" , false , "Open pull request in browser" )
34+ prViewCmd .Flags ().BoolP ("web" , "w" , false , "Open a pull request in the browser" )
3535}
3636
3737var prCmd = & cobra.Command {
@@ -56,11 +56,13 @@ var prStatusCmd = &cobra.Command{
5656}
5757var prViewCmd = & cobra.Command {
5858 Use : "view [{<number> | <url> | <branch>}]" ,
59- Short : "View a pull request in the browser " ,
60- Long : `View a pull request specified by the argument .
59+ Short : "View a pull request" ,
60+ Long : `Display the title, body, and other information about a pull request .
6161
62- Without an argument, the pull request that belongs to the current
63- branch is displayed.` ,
62+ Without an argument, the pull request that belongs to the current branch
63+ is displayed.
64+
65+ With '--web', open the pull request in a web browser instead.` ,
6466 RunE : prView ,
6567}
6668
0 commit comments