Re: [PATCH] doc/git-bisect: clarify `git bisect run` syntax
- From
Eric Sunshine <sunshine@sunshineco.com>
- Date
- Oct 22, 2023, 21:32 UTC
- Message-ID
- <CAPig+cS4J-L44a-fjQ=2bXxRj6e1qdQK8705K3NPqmTsWXBQsw@mail.gmail.com>
- In-Reply-To
- <pull.1602.git.1698004968582.gitgitgadget@gmail.com>
On Sun, Oct 22, 2023 at 4:03 PM cousteau via GitGitGadget <gitgitgadget@gmail.com> wrote:
Show 8 quoted lines
> The description of the `git bisect run` command syntax at the beginning > of the manpage is `git bisect run <cmd>...`, which isn't quite clear > about what `<cmd>` is or what the `...` mean; one could think that it is > the whole (quoted) command line with all arguments in a single string, > or that it supports multiple commands, or that it doesn't accept > commands with arguments at all. > > Change to `git bisect run <cmd> [<arg>...]` to clarify the syntax.
Okay, makes sense.
Show 6 quoted lines
> Signed-off-by: Javier Mora <cousteaulecommandant@gmail.com> > --- > diff --git a/Documentation/git-bisect.txt b/Documentation/git-bisect.txt > @@ -26,7 +26,7 @@ on the subcommand: > - git bisect run <cmd>... > + git bisect run <cmd> [<arg>...]
The output of `git bisect -h` suffers the same problem. Perhaps this patch can fix that, as well?