Skip to content

Commit 5445124

Browse files
matheusfelipeoggitster
authored andcommitted
config: correct "--type" option in "git config -h" output
The usage help for --type option of `git config` is missing `type` in the argument placeholder (`<>`). Add it. Signed-off-by: Matheus Felipe <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 4c53a8c commit 5445124

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builtin/config.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ static struct option builtin_config_options[] = {
151151
OPT_BIT(0, "get-color", &actions, N_("find the color configured: slot [default]"), ACTION_GET_COLOR),
152152
OPT_BIT(0, "get-colorbool", &actions, N_("find the color setting: slot [stdout-is-tty]"), ACTION_GET_COLORBOOL),
153153
OPT_GROUP(N_("Type")),
154-
OPT_CALLBACK('t', "type", &type, "", N_("value is given this type"), option_parse_type),
154+
OPT_CALLBACK('t', "type", &type, N_("type"), N_("value is given this type"), option_parse_type),
155155
OPT_CALLBACK_VALUE(0, "bool", &type, N_("value is \"true\" or \"false\""), TYPE_BOOL),
156156
OPT_CALLBACK_VALUE(0, "int", &type, N_("value is decimal number"), TYPE_INT),
157157
OPT_CALLBACK_VALUE(0, "bool-or-int", &type, N_("value is --bool or --int"), TYPE_BOOL_OR_INT),

0 commit comments

Comments
 (0)