Skip to content

Commit 8c7d4ac

Browse files
Linus Arvergitster
authored andcommitted
trailer --parse help: expose aliased options
The existing description "set parsing options" is vague, because arguably _all_ of the options for interpret-trailers have to do with parsing to some degree. Explain what this flag does to match what is in the docs, namely how it is an alias for "--only-trailers --only-input --unfold". Signed-off-by: Linus Arver <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent b674f25 commit 8c7d4ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builtin/interpret-trailers.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ int cmd_interpret_trailers(int argc, const char **argv, const char *prefix)
107107
OPT_BOOL(0, "only-trailers", &opts.only_trailers, N_("output only the trailers")),
108108
OPT_BOOL(0, "only-input", &opts.only_input, N_("do not apply config rules")),
109109
OPT_BOOL(0, "unfold", &opts.unfold, N_("join whitespace-continued values")),
110-
OPT_CALLBACK_F(0, "parse", &opts, NULL, N_("set parsing options"),
110+
OPT_CALLBACK_F(0, "parse", &opts, NULL, N_("alias for --only-trailers --only-input --unfold"),
111111
PARSE_OPT_NOARG | PARSE_OPT_NONEG, parse_opt_parse),
112112
OPT_BOOL(0, "no-divider", &opts.no_divider, N_("do not treat \"---\" as the end of input")),
113113
OPT_CALLBACK(0, "trailer", &trailers, N_("trailer"),

0 commit comments

Comments
 (0)