Skip to content

Commit 51d9ed5

Browse files
rscharfegitster
authored andcommitted
for-each-ref: call --start-after argument "marker"
dabecb9 (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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 444ad14 commit 51d9ed5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builtin/for-each-ref.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ int cmd_for_each_ref(int argc,
4545
OPT_GROUP(""),
4646
OPT_INTEGER( 0 , "count", &format.array_opts.max_count, N_("show only <n> matched refs")),
4747
OPT_STRING( 0 , "format", &format.format, N_("format"), N_("format to use for the output")),
48-
OPT_STRING( 0 , "start-after", &filter.start_after, N_("start-after"), N_("start iteration after the provided marker")),
48+
OPT_STRING( 0 , "start-after", &filter.start_after, N_("marker"), N_("start iteration after the provided marker")),
4949
OPT__COLOR(&format.use_color, N_("respect format colors")),
5050
OPT_REF_FILTER_EXCLUDE(&filter),
5151
OPT_REF_SORT(&sorting_options),

0 commit comments

Comments
 (0)