diff --git a/commands/pr.go b/commands/pr.go index af59cd3ace086cb44497afc28b668cd119317be9..bac3dd4213832bd207101e0d412dc872347595c7 100644 --- a/commands/pr.go +++ b/commands/pr.go @@ -10,7 +10,10 @@ import ( ) var ( - longHelp = `Check out the head of a pull request as a local branch. + cmdPr = &Command{ + Run: printHelp, + Usage: "pr checkout []", + Long: `Check out the head of a pull request as a local branch. ## Examples: $ hub pr checkout 73 @@ -20,12 +23,7 @@ var ( ## See also: hub-merge(1), hub(1), hub-checkout(1) -` - - cmdPr = &Command{ - Run: printHelp, - Usage: "pr checkout []", - Long: longHelp, + `, } cmdCheckoutPr = &Command{