]> git.ipfire.org Git - thirdparty/git.git/commitdiff
interpret-trailers: use placeholder instead of *
authorKristoffer Haugsbakk <code@khaugsbakk.name>
Mon, 16 Mar 2026 21:48:27 +0000 (22:48 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 16 Mar 2026 22:04:38 +0000 (15:04 -0700)
Use `<key-alias>` instead of `*` in order to be consistent with
the documentation.

Signed-off-by: Kristoffer Haugsbakk <code@khaugsbakk.name>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/interpret-trailers.c

index 41b0750e5af32431b5ab125e743e48b68c39f993..4b617c3ecb0c5595c58ebf96113a46af722ed29c 100644 (file)
@@ -211,7 +211,7 @@ int cmd_interpret_trailers(int argc,
                             N_("action if trailer is missing"), option_parse_if_missing),
 
                OPT_BOOL(0, "only-trailers", &opts.only_trailers, N_("output only the trailers")),
-               OPT_BOOL(0, "only-input", &opts.only_input, N_("do not apply trailer.* configuration variables")),
+               OPT_BOOL(0, "only-input", &opts.only_input, N_("do not apply trailer.<key-alias> configuration variables")),
                OPT_BOOL(0, "unfold", &opts.unfold, N_("reformat multiline trailer values as single-line values")),
                OPT_CALLBACK_F(0, "parse", &opts, NULL, N_("alias for --only-trailers --only-input --unfold"),
                        PARSE_OPT_NOARG | PARSE_OPT_NONEG, parse_opt_parse),