bisect: document command line arguments for "bisect start"
The syntax commonly used for alternatives is --opt-(a|b), not --opt-{a,b}. List bad/new and good/old consistently in this order, to be consistent with the description for "git bisect terms". Clarify <term> to either <term-old> or <term-new> to make them consistent with the description of "git bisect (good|bad)" subcommands. Suggested-by: Matthieu Moy <git@matthieu-moy.fr> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Junio C Hamano committed
Feb 7, 2024 at 13:44 UTC
841dbd40a350b6bde402ca36a56c815f13f20480
1 file changed
+1
-1
Documentation/git-bisect.txt
+1
-1
@@ -16,7 +16,7 @@ DESCRIPTION
16
The command takes various subcommands, and different options depending
17
on the subcommand:
18
19
- git bisect start [--term-{new,bad}=<term> --term-{old,good}=<term>]
19
+ git bisect start [--term-(bad|new)=<term-new> --term-(good|old)=<term-old>]
20
[--no-checkout] [--first-parent] [<bad> [<good>...]] [--] [<paths>...]
21
git bisect (bad|new|<term-new>) [<rev>]
22
git bisect (good|old|<term-old>) [<rev>...]