Skip to content

Commit 5ee9032

Browse files
chinmoy12cgitster
authored andcommitted
column, range-diff: downcase option description
It is customary not to begin the help text for each option given to the parse-options API with a capital letter. Various (sub)commands' option arrays don't follow the guideline provided by the parse_options Documentation regarding the descriptions. Downcase the first word of some option descriptions for "column" and "range-diff". Signed-off-by: Chinmoy Chakraborty <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 48bf2fa commit 5ee9032

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

builtin/column.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ int cmd_column(int argc, const char **argv, const char *prefix)
2727
OPT_STRING(0, "command", &real_command, N_("name"), N_("lookup config vars")),
2828
OPT_COLUMN(0, "mode", &colopts, N_("layout to use")),
2929
OPT_INTEGER(0, "raw-mode", &colopts, N_("layout to use")),
30-
OPT_INTEGER(0, "width", &copts.width, N_("Maximum width")),
31-
OPT_STRING(0, "indent", &copts.indent, N_("string"), N_("Padding space on left border")),
32-
OPT_INTEGER(0, "nl", &copts.nl, N_("Padding space on right border")),
33-
OPT_INTEGER(0, "padding", &copts.padding, N_("Padding space between columns")),
30+
OPT_INTEGER(0, "width", &copts.width, N_("maximum width")),
31+
OPT_STRING(0, "indent", &copts.indent, N_("string"), N_("padding space on left border")),
32+
OPT_INTEGER(0, "nl", &copts.nl, N_("padding space on right border")),
33+
OPT_INTEGER(0, "padding", &copts.padding, N_("padding space between columns")),
3434
OPT_END()
3535
};
3636

builtin/range-diff.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ int cmd_range_diff(int argc, const char **argv, const char *prefix)
2525
struct option range_diff_options[] = {
2626
OPT_INTEGER(0, "creation-factor",
2727
&range_diff_opts.creation_factor,
28-
N_("Percentage by which creation is weighted")),
28+
N_("percentage by which creation is weighted")),
2929
OPT_BOOL(0, "no-dual-color", &simple_color,
3030
N_("use simple diff colors")),
3131
OPT_PASSTHRU_ARGV(0, "notes", &other_arg,

0 commit comments

Comments
 (0)