|
|
|
@ -59,13 +59,13 @@ static struct option builtin_config_options[] = {
@@ -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")), |
|
|
|
|