diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2023-07-08 16:50:42 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2023-07-08 16:50:42 +0200 |
commit | 1d5433485ce976c8554ee8f72951c077344d0c70 (patch) | |
tree | 70adc40c648c5537df7d834fbb0b5789cdc12138 /src/plugins/fset/fset-command.c | |
parent | 4c0c7d9adc28687b2a9ab9f82e2d84deb6c69560 (diff) | |
download | weechat-1d5433485ce976c8554ee8f72951c077344d0c70.zip |
fset: add variable `allowed_values` in options, add two color options
New options:
- fset.color.allowed_values
- fset.color.allowed_values_selected
Diffstat (limited to 'src/plugins/fset/fset-command.c')
-rw-r--r-- | src/plugins/fset/fset-command.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/fset/fset-command.c b/src/plugins/fset/fset-command.c index 723a877a4..2468b2e7e 100644 --- a/src/plugins/fset/fset-command.c +++ b/src/plugins/fset/fset-command.c @@ -697,7 +697,7 @@ fset_command_init () "(bool/int/str/col/enum), type_tiny (b/i/s/c/e), default_value, " "default_value_undef, value, quoted_value, value_undef, " "value_changed, parent_value, min, max, description, description2, " - "description_en, description_en2, string_values\n" + "description_en, description_en2, string_values, allowed_values\n" "\n" "The lines with options are displayed using string evaluation " "(see /help eval for the format), with these options:\n" @@ -735,6 +735,7 @@ fset_command_init () "\"(no description)\" if there's no description\n" " - ${string_values}: string values allowed for set of an enum " "option\n" + " - ${allowed_values}: allowed values\n" " - ${marked}: \"1\" if option is marked, otherwise \"0\"\n" " - ${index}: index of option in list\n" " - option data, with color but no spaces:\n" |