]> git.ipfire.org Git - thirdparty/git.git/commitdiff
for-each-ref: call --start-after argument "marker"
authorRené Scharfe <l.s.r@web.de>
Sat, 9 Aug 2025 08:29:16 +0000 (10:29 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sun, 10 Aug 2025 00:10:39 +0000 (17:10 -0700)
dabecb9db2 (for-each-ref: introduce a '--start-after' option,
2025-07-15) added the option --start-after and referred to its argument
as "marker" in documentation and usage string, but not in the option's
short help.  Use "marker" there as well for consistency and brevity.

Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/for-each-ref.c

index 79a79212c927ef279ce74ed95a69e427a51999c6..7813f2305ab5e3da95e9dd0d90b649ab16ccc4c3 100644 (file)
@@ -45,7 +45,7 @@ int cmd_for_each_ref(int argc,
                OPT_GROUP(""),
                OPT_INTEGER( 0 , "count", &format.array_opts.max_count, N_("show only <n> matched refs")),
                OPT_STRING(  0 , "format", &format.format, N_("format"), N_("format to use for the output")),
-               OPT_STRING(  0 , "start-after", &filter.start_after, N_("start-after"), N_("start iteration after the provided marker")),
+               OPT_STRING(  0 , "start-after", &filter.start_after, N_("marker"), N_("start iteration after the provided marker")),
                OPT__COLOR(&format.use_color, N_("respect format colors")),
                OPT_REF_FILTER_EXCLUDE(&filter),
                OPT_REF_SORT(&sorting_options),