On Mon, Nov 20, 2017 at 4:05 AM, Junio C Hamano <gitster@xxxxxxxxx> wrote: > Christian Couder <christian.couder@xxxxxxxxx> writes: > >> On Fri, Sep 29, 2017 at 8:49 AM, Pranit Bauva <pranit.bauva@xxxxxxxxx> wrote: >>> Reimplement `is_expected_rev` & `check_expected_revs` shell function in >>> C and add a `--check-expected-revs` subcommand to `git bisect--helper` to >>> call it from git-bisect.sh . >> >> It looks like this patch forgot to add the `--check-expected-revs` >> subcommand to the usage string. > > Usage string of what? "git bisect"? bisect--helper > I do not think bisect--helper even needs to have end-user facing > "usage string", but "git bisect--helper -h" still gets the new thing > listed in its output for free thanks to parse-options API, so that > is not what you found "this patch forgot to add" and you are making > me scratch my head. Right now in master the usage string for bisect--helper is: static const char * const git_bisect_helper_usage[] = { N_("git bisect--helper --next-all [--no-checkout]"), N_("git bisect--helper --write-terms <bad_term> <good_term>"), N_("git bisect--helper --bisect-clean-state"), NULL }; So it lists 3 of the command modes out of 4. The missing one is for --check-expected-revs. For consistency I think it would be nice to add the missing one.