author | Jeff King <peff@peff.net> | |
Thu, 9 Jun 2011 15:55:23 +0000 (11:55 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 22 Jun 2011 18:25:20 +0000 (11:25 -0700) | ||
commit | c8ba163916554e9ffd3ce8cb2beeff003d90c0c3 | |
tree | ae035aa6494b6b852d3ddf4e2989a35900a6f0dc | tree | snapshot |
parent | f77bccaeba7a4c542e9b89d144af74bddd36fd08 | commit | diff |
parse-options: add OPT_STRING_LIST helper
This just adds repeated invocations of an option to a list
of strings. Using the "--no-<var>" form will reset the list
to empty.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This just adds repeated invocations of an option to a list
of strings. Using the "--no-<var>" form will reset the list
to empty.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
parse-options.c | diff | blob | history | |
parse-options.h | diff | blob | history | |
t/t0040-parse-options.sh | diff | blob | history | |
test-parse-options.c | diff | blob | history |