parse-opt: add PARSE_OPT_KEEP_ARGV0 parser option.
authorPierre Habouzit <madcoder@debian.org>
Mon, 23 Jun 2008 22:31:31 +0000 (00:31 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 30 Jun 2008 21:51:13 +0000 (14:51 -0700)
commita32a4eaa36527ab1c9a999357f9edd5e04591a4a
tree1ecb767a721025829b3e63e13167b2ef80814b0f
parent26141b5b60eea36f1d771312f6cae9e56dbbf760
parse-opt: add PARSE_OPT_KEEP_ARGV0 parser option.

This way, argv[0] isn't clobbered when parse-options filters argv[].

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
parse-options.c
parse-options.h