parseopt: add PARSE_OPT_KEEP_UNKNOWN
commitb5ce3a54302cb6e29a02cd8fe4ea55eacea0a86e
authorRené Scharfe <rene.scharfe@lsrfire.ath.cx>
Sun, 8 Mar 2009 18:12:47 +0000 (8 19:12 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sun, 8 Mar 2009 20:36:09 +0000 (8 13:36 -0700)
tree8b645fabe497f906af064488b8f7d2c8d171800d
parent934f788981de941814e821217f32451a5c715d5d
parseopt: add PARSE_OPT_KEEP_UNKNOWN

Add a parseopt flag, PARSE_OPT_KEEP_UNKNOWN, that can be used to keep
unknown options in argv, similar to the existing KEEP flags.

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