summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b1afe49)
raw | patch | inline | side by side (parent: b1afe49)
author | Michael J Gruber <git@drmicha.warpmail.net> | |
Tue, 15 Feb 2011 13:09:11 +0000 (14:09 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 15 Feb 2011 19:53:09 +0000 (11:53 -0800) |
parse-options part
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>
parse-options.h | patch | blob | history |
diff --git a/parse-options.h b/parse-options.h
index 31ec5d24763b13b3e97c79f7a3edd6e7799bcd91..d1b12fe979b34ac9bbf2ff637934b96f3878a53d 100644 (file)
--- a/parse-options.h
+++ b/parse-options.h
{ OPTION_NUMBER, 0, NULL, (v), NULL, (h), \
PARSE_OPT_NOARG | PARSE_OPT_NONEG, (f) }
#define OPT_FILENAME(s, l, v, h) { OPTION_FILENAME, (s), (l), (v), \
- "FILE", (h) }
+ "file", (h) }
#define OPT_COLOR_FLAG(s, l, v, h) \
{ OPTION_CALLBACK, (s), (l), (v), "when", (h), PARSE_OPT_OPTARG, \
parse_opt_color_flag_cb, (intptr_t)"always" }