On Wed, May 20, 2020 at 3:52 PM Carlo Marcelo Arenas Belón <carenas@xxxxxxxxx> wrote: > 06f5608c14 (bisect--helper: `bisect_start` shell function partially in C, > 2019-01-02) adds a lax parser for `git bisect start` which could result > in a segfault under a bad syntax call. > > Detect if they are enough arguments left in the command line to use for s/they/there/ > --term-{old,good,new,bad} and throw the same syntax error the old shell > script will show if not. > > While at it, remove and unnecessary (and incomplete) check for unknown s/and/an/ > arguments. > > Signed-off-by: Carlo Marcelo Arenas Belón <carenas@xxxxxxxxx>