summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2015-08-19 14:41:33 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-08-19 14:41:34 -0700
commitb994b9bc0b5e72da1158ad159c068cacaaef2eda (patch)
treeeab016b1d1b1947df891bf7a3d240d2a19090933
parentMerge branch 'sb/remove-unused-var-from-builtin-add' into maint (diff)
parentparse-options: align curly braces for all options (diff)
downloadtgif-b994b9bc0b5e72da1158ad159c068cacaaef2eda.tar.xz
Merge branch 'sb/parse-options-codeformat' into maint
* sb/parse-options-codeformat: parse-options: align curly braces for all options
-rw-r--r--parse-options.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse-options.h b/parse-options.h
index c71e9da4f8..08d7818935 100644
--- a/parse-options.h
+++ b/parse-options.h
@@ -126,7 +126,7 @@ struct option {
#define OPT_BOOL(s, l, v, h) OPT_SET_INT(s, l, v, h, 1)
#define OPT_HIDDEN_BOOL(s, l, v, h) { OPTION_SET_INT, (s), (l), (v), NULL, \
(h), PARSE_OPT_NOARG | PARSE_OPT_HIDDEN, NULL, 1}
-#define OPT_CMDMODE(s, l, v, h, i) { OPTION_CMDMODE, (s), (l), (v), NULL, \
+#define OPT_CMDMODE(s, l, v, h, i) { OPTION_CMDMODE, (s), (l), (v), NULL, \
(h), PARSE_OPT_NOARG|PARSE_OPT_NONEG, NULL, (i) }
#define OPT_INTEGER(s, l, v, h) { OPTION_INTEGER, (s), (l), (v), N_("n"), (h) }
#define OPT_STRING(s, l, v, a, h) { OPTION_STRING, (s), (l), (v), (a), (h) }