Use imperative form in help usage to describe an action

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Nguyễn Thái Ngọc Duy committed Aug 20, 2012 at 19:32 UTC f63cf8c9fbcd86e8ca3bb78917dc280747bb34a8
6 files changed +10 -10
builtin/apply.c
+1 -1
@@ -4297,7 +4297,7 @@ int cmd_apply(int argc, const char **argv, const char *prefix_)
4297 OPT_NOOP_NOARG(0, "allow-binary-replacement"),
4298 OPT_NOOP_NOARG(0, "binary"),
4299 OPT_BOOLEAN(0, "numstat", &numstat,
4300 - N_("shows number of added and deleted lines in decimal notation")),
4300 + N_("show number of added and deleted lines in decimal notation")),
4301 OPT_BOOLEAN(0, "summary", &summary,
4302 N_("instead of applying the patch, output a summary for the input")),
4303 OPT_BOOLEAN(0, "check", &check,
builtin/checkout-index.c
+2 -2
@@ -184,8 +184,8 @@ int cmd_checkout_index(int argc, const char **argv, const char *prefix)
184 int force = 0, quiet = 0, not_new = 0;
185 struct option builtin_checkout_index_options[] = {
186 OPT_BOOLEAN('a', "all", &all,
187 - N_("checks out all files in the index")),
188 - OPT__FORCE(&force, N_("forces overwrite of existing files")),
187 + N_("check out all files in the index")),
188 + OPT__FORCE(&force, N_("force overwrite of existing files")),
189 OPT__QUIET(&quiet,
190 N_("no warning for existing files and files not in index")),
191 OPT_BOOLEAN('n', "no-create", &not_new,
builtin/config.c
+4 -4
@@ -59,13 +59,13 @@ static struct option builtin_config_options[] = {
59 OPT_BIT(0, "get-all", &actions, N_("get all values: key [value-regex]"), ACTION_GET_ALL),
60 OPT_BIT(0, "get-regexp", &actions, N_("get values for regexp: name-regex [value-regex]"), ACTION_GET_REGEXP),
61 OPT_BIT(0, "replace-all", &actions, N_("replace all matching variables: name value [value_regex]"), ACTION_REPLACE_ALL),
62 - OPT_BIT(0, "add", &actions, N_("adds a new variable: name value"), ACTION_ADD),
63 - OPT_BIT(0, "unset", &actions, N_("removes a variable: name [value-regex]"), ACTION_UNSET),
64 - OPT_BIT(0, "unset-all", &actions, N_("removes all matches: name [value-regex]"), ACTION_UNSET_ALL),
62 + OPT_BIT(0, "add", &actions, N_("add a new variable: name value"), ACTION_ADD),
63 + OPT_BIT(0, "unset", &actions, N_("remove a variable: name [value-regex]"), ACTION_UNSET),
64 + OPT_BIT(0, "unset-all", &actions, N_("remove all matches: name [value-regex]"), ACTION_UNSET_ALL),
65 OPT_BIT(0, "rename-section", &actions, N_("rename section: old-name new-name"), ACTION_RENAME_SECTION),
66 OPT_BIT(0, "remove-section", &actions, N_("remove a section: name"), ACTION_REMOVE_SECTION),
67 OPT_BIT('l', "list", &actions, N_("list all"), ACTION_LIST),
68 - OPT_BIT('e', "edit", &actions, N_("opens an editor"), ACTION_EDIT),
68 + OPT_BIT('e', "edit", &actions, N_("open an editor"), ACTION_EDIT),
69 OPT_STRING(0, "get-color", &get_color_slot, N_("slot"), N_("find the color configured: [default]")),
70 OPT_STRING(0, "get-colorbool", &get_colorbool_slot, N_("slot"), N_("find the color setting: [stdout-is-tty]")),
71 OPT_GROUP(N_("Type")),
builtin/grep.c
+1 -1
@@ -682,7 +682,7 @@ int cmd_grep(int argc, const char **argv, const char *prefix)
682 OPT_BOOLEAN(0, "cached", &cached,
683 N_("search in index instead of in the work tree")),
684 OPT_NEGBIT(0, "no-index", &use_index,
685 - N_("finds in contents not managed by git"), 1),
685 + N_("find in contents not managed by git"), 1),
686 OPT_BOOLEAN(0, "untracked", &untracked,
687 N_("search in both tracked and untracked files")),
688 OPT_SET_INT(0, "exclude-standard", &opt_exclude,
builtin/push.c
+1 -1
@@ -364,7 +364,7 @@ int cmd_push(int argc, const char **argv, const char *prefix)
364 OPT_BIT( 0, "porcelain", &flags, N_("machine-readable output"), TRANSPORT_PUSH_PORCELAIN),
365 OPT_BIT('f', "force", &flags, N_("force updates"), TRANSPORT_PUSH_FORCE),
366 { OPTION_CALLBACK, 0, "recurse-submodules", &flags, N_("check"),
367 - N_("controls recursive pushing of submodules"),
367 + N_("control recursive pushing of submodules"),
368 PARSE_OPT_OPTARG, option_parse_recurse_submodules },
369 OPT_BOOLEAN( 0 , "thin", &thin, N_("use thin pack")),
370 OPT_STRING( 0 , "receive-pack", &receivepack, "receive-pack", N_("receive pack program")),
builtin/update-ref.c
+1 -1
@@ -16,7 +16,7 @@ int cmd_update_ref(int argc, const char **argv, const char *prefix)
16 int delete = 0, no_deref = 0, flags = 0;
17 struct option options[] = {
18 OPT_STRING( 'm', NULL, &msg, N_("reason"), N_("reason of the update")),
19 - OPT_BOOLEAN('d', NULL, &delete, N_("deletes the reference")),
19 + OPT_BOOLEAN('d', NULL, &delete, N_("delete the reference")),
20 OPT_BOOLEAN( 0 , "no-deref", &no_deref,
21 N_("update <refname> not the one it points to")),
22 OPT_END(),