3 #include "parse-options.h"
6 static const char * const git_bisect_helper_usage[] = {
7 N_("git bisect--helper --next-all [--no-checkout]"),
11 int cmd_bisect__helper(int argc, const char **argv, const char *prefix)
15 struct option options[] = {
16 OPT_BOOLEAN(0, "next-all", &next_all,
17 N_("perform 'git bisect next'")),
18 OPT_BOOLEAN(0, "no-checkout", &no_checkout,
19 N_("update BISECT_HEAD instead of checking out the current commit")),
23 argc = parse_options(argc, argv, prefix, options,
24 git_bisect_helper_usage, 0);
27 usage_with_options(git_bisect_helper_usage, options);
30 return bisect_next_all(prefix, no_checkout);