parseopt: add PARSE_OPT_NO_INTERNAL_HELP
authorRené Scharfe <rene.scharfe@lsrfire.ath.cx>
Sun, 8 Mar 2009 18:15:08 +0000 (19:15 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sun, 8 Mar 2009 20:36:27 +0000 (13:36 -0700)
commitb92891f9783ae197bb84b90d8404ad08c3875fa1
tree780f9dc1cd6d4dbf7a8b8f524c054ce9cf0ec7da
parentb5ce3a54302cb6e29a02cd8fe4ea55eacea0a86e
parseopt: add PARSE_OPT_NO_INTERNAL_HELP

Add a parseopt flag, PARSE_OPT_NO_INTERNAL_HELP, that turns off internal
handling of -h, --help and --help-all.  This allows the implementation
of custom help option handlers or incremental parsers.

Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
parse-options.c
parse-options.h