Skip to content

Commit 6d8d81e

Browse files
committed
Merge branch 'ac/usage-string-fixups'
Usage-string normalization. * ac/usage-string-fixups: amend remaining usage strings according to style guide
2 parents a281069 + 9e1f22c commit 6d8d81e

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

builtin/bisect--helper.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1270,7 +1270,7 @@ int cmd_bisect__helper(int argc, const char **argv, const char *prefix)
12701270
OPT_CMDMODE(0, "bisect-visualize", &cmdmode,
12711271
N_("visualize the bisection"), BISECT_VISUALIZE),
12721272
OPT_CMDMODE(0, "bisect-run", &cmdmode,
1273-
N_("use <cmd>... to automatically bisect."), BISECT_RUN),
1273+
N_("use <cmd>... to automatically bisect"), BISECT_RUN),
12741274
OPT_BOOL(0, "no-log", &nolog,
12751275
N_("no log for BISECT_WRITE")),
12761276
OPT_END()

builtin/reflog.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ static int cmd_reflog_expire(int argc, const char **argv, const char *prefix)
600600
OPT_BIT(0, "updateref", &flags,
601601
N_("update the reference to the value of the top reflog entry"),
602602
EXPIRE_REFLOGS_UPDATE_REF),
603-
OPT_BOOL(0, "verbose", &verbose, N_("print extra information on screen.")),
603+
OPT_BOOL(0, "verbose", &verbose, N_("print extra information on screen")),
604604
OPT_CALLBACK_F(0, "expire", &cmd, N_("timestamp"),
605605
N_("prune entries older than the specified time"),
606606
PARSE_OPT_NONEG,
@@ -613,7 +613,7 @@ static int cmd_reflog_expire(int argc, const char **argv, const char *prefix)
613613
N_("prune any reflog entries that point to broken commits")),
614614
OPT_BOOL(0, "all", &do_all, N_("process the reflogs of all references")),
615615
OPT_BOOL(1, "single-worktree", &all_worktrees,
616-
N_("limits processing to reflogs from the current worktree only.")),
616+
N_("limits processing to reflogs from the current worktree only")),
617617
OPT_END()
618618
};
619619

@@ -736,7 +736,7 @@ static int cmd_reflog_delete(int argc, const char **argv, const char *prefix)
736736
OPT_BIT(0, "updateref", &flags,
737737
N_("update the reference to the value of the top reflog entry"),
738738
EXPIRE_REFLOGS_UPDATE_REF),
739-
OPT_BOOL(0, "verbose", &verbose, N_("print extra information on screen.")),
739+
OPT_BOOL(0, "verbose", &verbose, N_("print extra information on screen")),
740740
OPT_END()
741741
};
742742

builtin/submodule--helper.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1882,7 +1882,7 @@ static int module_clone(int argc, const char **argv, const char *prefix)
18821882
OPT_STRING(0, "depth", &clone_data.depth,
18831883
N_("string"),
18841884
N_("depth for shallow clones")),
1885-
OPT__QUIET(&quiet, "Suppress output for cloning a submodule"),
1885+
OPT__QUIET(&quiet, "suppress output for cloning a submodule"),
18861886
OPT_BOOL(0, "progress", &progress,
18871887
N_("force cloning progress")),
18881888
OPT_BOOL(0, "require-init", &require_init,

diff.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5630,7 +5630,7 @@ static void prep_parse_options(struct diff_options *options)
56305630
N_("select files by diff type"),
56315631
PARSE_OPT_NONEG, diff_opt_diff_filter),
56325632
{ OPTION_CALLBACK, 0, "output", options, N_("<file>"),
5633-
N_("Output to a specific file"),
5633+
N_("output to a specific file"),
56345634
PARSE_OPT_NONEG, NULL, 0, diff_opt_output },
56355635

56365636
OPT_END()

t/helper/test-run-command.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -221,9 +221,9 @@ static int quote_stress_test(int argc, const char **argv)
221221
struct strbuf out = STRBUF_INIT;
222222
struct strvec args = STRVEC_INIT;
223223
struct option options[] = {
224-
OPT_INTEGER('n', "trials", &trials, "Number of trials"),
225-
OPT_INTEGER('s', "skip", &skip, "Skip <n> trials"),
226-
OPT_BOOL('m', "msys2", &msys2, "Test quoting for MSYS2's sh"),
224+
OPT_INTEGER('n', "trials", &trials, "number of trials"),
225+
OPT_INTEGER('s', "skip", &skip, "skip <n> trials"),
226+
OPT_BOOL('m', "msys2", &msys2, "test quoting for MSYS2's sh"),
227227
OPT_END()
228228
};
229229
const char * const usage[] = {

0 commit comments

Comments
 (0)