summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 23c6a80)
raw | patch | inline | side by side (parent: 23c6a80)
author | Michael J Gruber <git@drmicha.warpmail.net> | |
Tue, 15 Feb 2011 13:09:13 +0000 (14:09 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 15 Feb 2011 19:53:11 +0000 (11:53 -0800) |
*.c part for matches with '<[A-Z]+>' (and affected test).
Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t0040-parse-options.sh | patch | blob | history | |
test-parse-options.c | patch | blob | history |
index 20924506af886c8d0ce28f3fcb2742214d80020f..ae266147b6db9e06abeb4dc30e4271b6c611deac 100755 (executable)
--- a/t/t0040-parse-options.sh
+++ b/t/t0040-parse-options.sh
--set23 set integer to 23
-t <time> get timestamp of <time>
-L, --length <str> get length of <str>
- -F, --file <FILE> set file to <FILE>
+ -F, --file <file> set file to <file>
String options
-s, --string <string>
diff --git a/test-parse-options.c b/test-parse-options.c
index 0828592162cc7c61f0d025ba4d83fc29bc4c2067..4e3710b9a8fc868642e1e0e8f4af37eeb1ce0ce4 100644 (file)
--- a/test-parse-options.c
+++ b/test-parse-options.c
OPT_DATE('t', NULL, ×tamp, "get timestamp of <time>"),
OPT_CALLBACK('L', "length", &integer, "str",
"get length of <str>", length_callback),
- OPT_FILENAME('F', "file", &file, "set file to <FILE>"),
+ OPT_FILENAME('F', "file", &file, "set file to <file>"),
OPT_GROUP("String options"),
OPT_STRING('s', "string", &string, "string", "get a string"),
OPT_STRING(0, "string2", &string, "str", "get another string"),