diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2012-08-20 19:32:55 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-08-22 12:02:28 -0700 |
commit | f63cf8c9fbcd86e8ca3bb78917dc280747bb34a8 (patch) | |
tree | e6640fdfc517e5359ae03ba92d2ceb6e262405ec /builtin/config.c | |
parent | b0ff96547ec66979487707ad71f89c23f5e0669d (diff) | |
download | git-f63cf8c9fbcd86e8ca3bb78917dc280747bb34a8.tar.gz |
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>
Diffstat (limited to 'builtin/config.c')
-rw-r--r-- | builtin/config.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/builtin/config.c b/builtin/config.c index 41032ccc8e..31e1354937 100644 --- a/builtin/config.c +++ b/builtin/config.c @@ -59,13 +59,13 @@ static struct option builtin_config_options[] = { OPT_BIT(0, "get-all", &actions, N_("get all values: key [value-regex]"), ACTION_GET_ALL), OPT_BIT(0, "get-regexp", &actions, N_("get values for regexp: name-regex [value-regex]"), ACTION_GET_REGEXP), OPT_BIT(0, "replace-all", &actions, N_("replace all matching variables: name value [value_regex]"), ACTION_REPLACE_ALL), - OPT_BIT(0, "add", &actions, N_("adds a new variable: name value"), ACTION_ADD), - OPT_BIT(0, "unset", &actions, N_("removes a variable: name [value-regex]"), ACTION_UNSET), - OPT_BIT(0, "unset-all", &actions, N_("removes all matches: name [value-regex]"), ACTION_UNSET_ALL), + OPT_BIT(0, "add", &actions, N_("add a new variable: name value"), ACTION_ADD), + OPT_BIT(0, "unset", &actions, N_("remove a variable: name [value-regex]"), ACTION_UNSET), + OPT_BIT(0, "unset-all", &actions, N_("remove all matches: name [value-regex]"), ACTION_UNSET_ALL), OPT_BIT(0, "rename-section", &actions, N_("rename section: old-name new-name"), ACTION_RENAME_SECTION), OPT_BIT(0, "remove-section", &actions, N_("remove a section: name"), ACTION_REMOVE_SECTION), OPT_BIT('l', "list", &actions, N_("list all"), ACTION_LIST), - OPT_BIT('e', "edit", &actions, N_("opens an editor"), ACTION_EDIT), + OPT_BIT('e', "edit", &actions, N_("open an editor"), ACTION_EDIT), OPT_STRING(0, "get-color", &get_color_slot, N_("slot"), N_("find the color configured: [default]")), OPT_STRING(0, "get-colorbool", &get_colorbool_slot, N_("slot"), N_("find the color setting: [stdout-is-tty]")), OPT_GROUP(N_("Type")), |