Re: [PATCH v2] git.c: show usage for accessing the git(1) help page
- From
Eric Sunshine <sunshine@sunshineco.com>
- Date
- May 15, 2019, 08:14 UTC
- Message-ID
- <CAPig+cQ4FZeOxbVU-5qTrQm8Q-khwHuCwekAr-aGtbLKAVzY0Q@mail.gmail.com>
- In-Reply-To
- <20190515081112.12340-1-philipoakley@iee.org>
On Wed, May 15, 2019 at 4:11 AM Philip Oakley <philipoakley@iee.org> wrote:
Show 16 quoted lines
> It is not immediately obvious how to use the `git help` system to show
> the git(1) page, with its overview and its background and coordinating
> material, such as environment variables.
>
> Let's simply list it as the last few words of the last usage line.
>
> Signed-off-by: Philip Oakley <philipoakley@iee.org>
> ---
> diff --git a/git.c b/git.c
> @@ -33,7 +33,8 @@ const char git_usage_string[] =
> const char git_more_info_string[] =
> N_("'git help -a' and 'git help -g' list available subcommands and some\n"
> "concept guides. See 'git help <command>' or 'git help <concept>'\n"
> - "to read about a specific subcommand or concept.");
> + "to read about a specific subcommand or concept.\n"
> + "Use 'git help git' for an overview of the system.");If you want to be consistent with the wording shown for "git help <...>", you might want s/Use/See/.