提交 8373accb 编写于 作者: M Mislav Marohnić

Print short usage help when running `hub pr` instead of raw markdown

Fixes #1919
上级 fab4e042
......@@ -166,8 +166,8 @@ func init() {
}
func printHelp(command *Command, args *Args) {
fmt.Print(command.HelpText())
os.Exit(0)
ui.Errorln(command.Synopsis())
os.Exit(1)
}
func listPulls(cmd *Command, args *Args) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册