From: Eric Sunshine Date: Wed, 27 Dec 2023 22:29:20 GMT Subject: Re: [PATCH 1/1] doc: use singular form of repeatable path arg Message-ID: In-Reply-To: <3d46bca1-96d4-43ba-a912-1f7c76942287@smtp-relay.sendinblue.com> On Wed, Dec 27, 2023 at 3:55 PM Britton Leo Kerin wrote: > This is more correct because the ... doc syntax already indicates > that the arg is "array-type". It's how other tools do it. Finally, the > later document text mentions 'path' arguments, while it doesn't mention > 'paths'. Yep, makes sense. > Signed-off-by: Britton L Kerin > --- > diff --git a/Documentation/git-bisect.txt b/Documentation/git-bisect.txt > @@ -17,7 +17,7 @@ The command takes various subcommands, and different options depending > git bisect start [--term-(new|bad)= --term-(old|good)=] > - [--no-checkout] [--first-parent] [ [...]] [--] [...] > + [--no-checkout] [--first-parent] [ [...]] [--] [...] Looking good. In builtin/bisect.c, the "usage" string says "[...]" rather than "[...]". Perhaps it makes sense to unify these? Also, there are a few more documentation files that could use the "" to "..." fixup (though not always in the synopsis). A 'grep' indicates that git-checkout.txt, git-diff.txt, and git-rev-list-options.txt also mention "". Those may be outside the scope of this patch, although they could easily be included, as well, or made part of a patch series if you feel inclined.