]> git.ipfire.org Git - thirdparty/git.git/commitdiff
bisect: document command line arguments for "bisect start"
authorJunio C Hamano <gitster@pobox.com>
Wed, 7 Feb 2024 21:44:36 +0000 (13:44 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 7 Feb 2024 21:46:01 +0000 (13:46 -0800)
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>
Documentation/git-bisect.txt

index 3d813f9c779b9b84398bc754dc2fd43f0c36f040..73f889b97b8b6ccb601c5d21f2c6fe15ab871b7f 100644 (file)
@@ -16,7 +16,7 @@ DESCRIPTION
 The command takes various subcommands, and different options depending
 on the subcommand:
 
- git bisect start [--term-{new,bad}=<term> --term-{old,good}=<term>]
+ git bisect start [--term-(bad|new)=<term-new> --term-(good|old)=<term-old>]
                  [--no-checkout] [--first-parent] [<bad> [<good>...]] [--] [<paths>...]
  git bisect (bad|new|<term-new>) [<rev>]
  git bisect (good|old|<term-old>) [<rev>...]