author | Pierre Habouzit <madcoder@debian.org> | |
Mon, 23 Jun 2008 20:46:36 +0000 (22:46 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 30 Jun 2008 21:51:13 +0000 (14:51 -0700) | ||
commit | 07fe54db3cdf42500ac2e893b670fd74841afdc4 | |
tree | 4bd4bea396d27d86e8ff2a9251318b7b69726608 | tree | snapshot |
parent | ff43ec3e2d2f71482fe17ba9ba5f4e8074cc54ee | commit | diff |
parse-opt: do not print errors on unknown options, return -2 intead.
This way we can catch "unknown" options more easily.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This way we can catch "unknown" options more easily.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
parse-options.c | diff | blob | history |