| #include "parse-options.h" |
| static const char * const git_bisect_helper_usage[] = { |
| N_("git bisect--helper --next-all [--no-checkout]"), |
| int cmd_bisect__helper(int argc, const char **argv, const char *prefix) |
| struct option options[] = { |
| OPT_BOOL(0, "next-all", &next_all, |
| N_("perform 'git bisect next'")), |
| OPT_BOOL(0, "no-checkout", &no_checkout, |
| N_("update BISECT_HEAD instead of checking out the current commit")), |
| argc = parse_options(argc, argv, prefix, options, |
| git_bisect_helper_usage, 0); |
| usage_with_options(git_bisect_helper_usage, options); |
| return bisect_next_all(prefix, no_checkout); |