提交 3a8df8d9 编写于 作者: J Johan Walles

Inline the long help

上级 aeda9a67
......@@ -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 <PULLREQ-NUMBER> [<BRANCH>]",
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 <PULLREQ-NUMBER> [<BRANCH>]",
Long: longHelp,
`,
}
cmdCheckoutPr = &Command{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册