author | René Scharfe <rene.scharfe@lsrfire.ath.cx> | |
Sun, 8 Mar 2009 18:16:58 +0000 (19:16 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 8 Mar 2009 20:36:41 +0000 (13:36 -0700) | ||
commit | 49b6180252000e37ec47ccb4156240ed625949ed | |
tree | a4aa47b6c28e7589344e8fa4d52676a7bc3a1694 | tree | snapshot |
parent | b92891f9783ae197bb84b90d8404ad08c3875fa1 | commit | diff |
parseopt: make usage optional
Allow usagestr to be NULL and don't display any help screen in
this case. This is useful to implement incremental parsers.
Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Allow usagestr to be NULL and don't display any help screen in
this case. This is useful to implement incremental parsers.
Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
parse-options.c | diff | blob | history |