@@ -27,31 +27,35 @@ static GIT_PATH_FUNC(git_path_bisect_first_parent, "BISECT_FIRST_PARENT")
2727static GIT_PATH_FUNC (git_path_bisect_run , "BISECT_RUN ")
2828
2929#define BUILTIN_GIT_BISECT_START_USAGE \
30- N_ ("git bisect start [--term-(new|bad)=<term> --term-(old|good)=<term>]" \
31- " [--no-checkout] [--first-parent] [<bad> [<good>...]] [--]" \
32- " [<pathspec>...]" )
33- #define BUILTIN_GIT_BISECT_STATE_USAGE \
34- N_("git bisect (good|bad) [<rev>...]")
30+ N_ ("git bisect start [--term-(bad|new)=<term-new> --term-(good|old)=<term-old>]\n" \
31+ " [--no-checkout] [--first-parent] [<bad> [<good>...]] [--] [<pathspec>...]" )
32+ #define BUILTIN_GIT_BISECT_BAD_USAGE \
33+ N_("git bisect (bad|new|<term-new>) [<rev>]")
34+ #define BUILTIN_GIT_BISECT_GOOD_USAGE \
35+ N_("git bisect (good|old|<term-old>) [<rev>...]")
3536#define BUILTIN_GIT_BISECT_TERMS_USAGE \
36- "git bisect terms [--term-good | --term-bad]"
37+ "git bisect terms [--term-( good|old) | --term-( bad|new) ]"
3738#define BUILTIN_GIT_BISECT_SKIP_USAGE \
3839 N_("git bisect skip [(<rev>|<range>)...]")
3940#define BUILTIN_GIT_BISECT_NEXT_USAGE \
4041 "git bisect next"
4142#define BUILTIN_GIT_BISECT_RESET_USAGE \
4243 N_("git bisect reset [<commit>]")
4344#define BUILTIN_GIT_BISECT_VISUALIZE_USAGE \
44- "git bisect visualize"
45+ "git bisect ( visualize|view) "
4546#define BUILTIN_GIT_BISECT_REPLAY_USAGE \
4647 N_("git bisect replay <logfile>")
4748#define BUILTIN_GIT_BISECT_LOG_USAGE \
4849 "git bisect log"
4950#define BUILTIN_GIT_BISECT_RUN_USAGE \
5051 N_("git bisect run <cmd> [<arg>...]")
52+ #define BUILTIN_GIT_BISECT_HELP_USAGE \
53+ "git bisect help"
5154
5255static const char * const git_bisect_usage [] = {
5356 BUILTIN_GIT_BISECT_START_USAGE ,
54- BUILTIN_GIT_BISECT_STATE_USAGE ,
57+ BUILTIN_GIT_BISECT_BAD_USAGE ,
58+ BUILTIN_GIT_BISECT_GOOD_USAGE ,
5559 BUILTIN_GIT_BISECT_TERMS_USAGE ,
5660 BUILTIN_GIT_BISECT_SKIP_USAGE ,
5761 BUILTIN_GIT_BISECT_NEXT_USAGE ,
@@ -60,6 +64,7 @@ static const char * const git_bisect_usage[] = {
6064 BUILTIN_GIT_BISECT_REPLAY_USAGE ,
6165 BUILTIN_GIT_BISECT_LOG_USAGE ,
6266 BUILTIN_GIT_BISECT_RUN_USAGE ,
67+ BUILTIN_GIT_BISECT_HELP_USAGE ,
6368 NULL
6469};
6570
0 commit comments