Re: [PATCH v4 2/3] doc: add spacing around paginate options
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 3, 2024, 17:36 UTC
- Message-ID
- <xmqq5xvu94rq.fsf@gitster.g>
- In-Reply-To
- <CAOLa=ZTTHhh0xVzhU7WPCOm7oE8s=hQRRLztVR3_=71euRcSLA@mail.gmail.com>
Karthik Nayak <karthik.188@gmail.com> writes:
Show 7 quoted lines
> James Liu <james@jamesliu.io> writes: > >> Make the documentation page consistent with the usage string printed by >> git.c >> > > Nit: missing full-stop here.
Yes, but "printed by git.c" is an unsatisfying way to say this. We can easily illustrate what the end user does to get it, for example:
... usage string given by "git help git".
It also makes it internally consistent with "[-v | --version]" that exists in the same document, which is even better reason to do this change.
Thanks, both.
Show 21 quoted lines
> >> Signed-off-by: James Liu <james@jamesliu.io> >> --- >> Documentation/git.txt | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/Documentation/git.txt b/Documentation/git.txt >> index 7fa75350b2..d11d3d0c86 100644 >> --- a/Documentation/git.txt >> +++ b/Documentation/git.txt >> @@ -11,7 +11,7 @@ SYNOPSIS >> [verse] >> 'git' [-v | --version] [-h | --help] [-C <path>] [-c <name>=<value>] >> [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path] >> - [-p|--paginate|-P|--no-pager] [--no-replace-objects] [--no-lazy-fetch] >> + [-p | --paginate | -P | --no-pager] [--no-replace-objects] [--no-lazy-fetch] >> [--no-optional-locks] [--bare] [--git-dir=<path>] [--work-tree=<path>] >> [--namespace=<name>] [--config-env=<name>=<envvar>] <command> [<args>] >> >> -- >> 2.44.0