ls-files documentation: reword for consistency
[git/mjg.git] / builtin-bisect--helper.c
blob8fe778766a45f8f7bfceeeef9f67a2433a892ffb
1 #include "builtin.h"
2 #include "cache.h"
3 #include "parse-options.h"
4 #include "bisect.h"
6 static const char * const git_bisect_helper_usage[] = {
7 "git bisect--helper --next-vars",
8 NULL
9 };
11 int cmd_bisect__helper(int argc, const char **argv, const char *prefix)
13 int next_vars = 0;
14 struct option options[] = {
15 OPT_BOOLEAN(0, "next-vars", &next_vars,
16 "output next bisect step variables"),
17 OPT_END()
20 argc = parse_options(argc, argv, options, git_bisect_helper_usage, 0);
22 if (!next_vars)
23 usage_with_options(git_bisect_helper_usage, options);
25 /* next-vars */
26 return bisect_next_vars(prefix);