commit | 26141b5b60eea36f1d771312f6cae9e56dbbf760 | [log] [tgz] |
---|---|---|
author | Pierre Habouzit <madcoder@debian.org> | Mon Jun 23 22:55:11 2008 +0200 |
committer | Junio C Hamano <gitster@pobox.com> | Mon Jun 30 14:51:13 2008 -0700 |
tree | a7e869a6ed39ba10b5e7d45d8ad0f18d0fee9096 | |
parent | 07fe54db3cdf42500ac2e893b670fd74841afdc4 [diff] |
parse-opt: fake short strings for callers to believe in. If we begin to parse -abc and that the parser knew about -a and -b, it will fake a -c switch for the caller to deal with. Of course in the case of -acb (supposing -c is not taking an argument) the caller will have to be especially clever to do the same thing. We could think about exposing an API to do so if it's really needed, but oh well... Signed-off-by: Pierre Habouzit <madcoder@debian.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>