grep: stop using PARSE_OPT_NO_INTERNAL_HELP
commit4441549995d796084526a5ed6a6c9add7af6c665
authorRené Scharfe <l.s.r@web.de>
Tue, 17 Nov 2015 10:25:53 +0000 (17 11:25 +0100)
committerJeff King <peff@peff.net>
Fri, 20 Nov 2015 13:02:07 +0000 (20 08:02 -0500)
treec4e15a7b293a4a61d398d753412afd3240af69e1
parent5ad0d3d5266b83aa767a7efa09cb574d3c2968b3
grep: stop using PARSE_OPT_NO_INTERNAL_HELP

The flag PARSE_OPT_NO_INTERNAL_HELP is set to allow overriding the
option -h, except when it's the only one given.  This is the default
behavior now, so remove the flag and the hand-rolled --help-all
handling.  The internal --help-all handler now actually shows hidden
options, i.e. --debug in this case.

Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Jeff King <peff@peff.net>
builtin/grep.c