show-ref: stop using PARSE_OPT_NO_INTERNAL_HELP
commit42fdf86e5f6ecf675e973e3e4a08952c8b1fd4c4
authorRené Scharfe <l.s.r@web.de>
Tue, 17 Nov 2015 10:26:05 +0000 (17 11:26 +0100)
committerJeff King <peff@peff.net>
Fri, 20 Nov 2015 13:02:07 +0000 (20 08:02 -0500)
tree13cf2f72a2b47554782c0b9f82243a14b2622479
parent4441549995d796084526a5ed6a6c9add7af6c665
show-ref: 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. -h in this case.

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