From 3a8df8d99e8b12cee8f1b62c8e479e17406cb1a8 Mon Sep 17 00:00:00 2001 From: Johan Walles Date: Sun, 26 Feb 2017 20:25:46 +0100 Subject: [PATCH] Inline the long help --- commands/pr.go | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/commands/pr.go b/commands/pr.go index af59cd3a..bac3dd42 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{ -- GitLab