Avoid long first line of gh help

This splits help text over paragraphs and lines to make the output of
`gh` easier to read. It takes care not to go over 80 characters in width
and wraps the URL in `<...>` which will help the URL get auto-linked
when these docs are converted to man and HTML formats.
This commit is contained in:
Mislav Marohnić 2019-12-16 15:52:14 +01:00
parent e93ab66107
commit 030c997301

View file

@ -43,7 +43,10 @@ type FlagError struct {
var RootCmd = &cobra.Command{
Use: "gh",
Short: "GitHub CLI",
Long: `Work seamlessly with GitHub from the command line. GitHub CLI is in early stages of development, and we'd love to hear your feedback at https://forms.gle/pBt3kujJi7nXZmcM6`,
Long: `Work seamlessly with GitHub from the command line.
GitHub CLI is in early stages of development, and we'd love to hear your
feedback at <https://forms.gle/pBt3kujJi7nXZmcM6>`,
SilenceErrors: true,
SilenceUsage: true,