From 030c99730152f5f4406eed64694da3250d57fd4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mislav=20Marohni=C4=87?= Date: Mon, 16 Dec 2019 15:52:14 +0100 Subject: [PATCH] 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. --- command/root.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/command/root.go b/command/root.go index c925285ed..28fa1a6fa 100644 --- a/command/root.go +++ b/command/root.go @@ -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 `, SilenceErrors: true, SilenceUsage: true,