grep: do not use --index in the short usage output
authorBert Wesarg <bert.wesarg@googlemail.com>
Thu, 15 Sep 2011 18:26:02 +0000 (20:26 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 15 Sep 2011 19:17:56 +0000 (12:17 -0700)
commitac1d33dd0205c52fb168ddaa53b40aeb6f1ea7b5
treee5e22818ff147cff94b7dfee42692b0f01e92d8a
parent59332d13b2b23840452180368914921bffe9bfbc
grep: do not use --index in the short usage output

Utilize the PARSE_OPT_NEGHELP option to show --no-index in the usage
generated by parse-options.

Signed-off-by: Bert Wesarg <bert.wesarg@googlemail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-grep.c