diff options
Diffstat (limited to 'src/plugins/fset/fset-command.c')
-rw-r--r-- | src/plugins/fset/fset-command.c | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/src/plugins/fset/fset-command.c b/src/plugins/fset/fset-command.c index be36dbd95..97348dd66 100644 --- a/src/plugins/fset/fset-command.c +++ b/src/plugins/fset/fset-command.c @@ -514,10 +514,11 @@ fset_command_init () " =xxx show only options with \"xxx\" in value\n" " ==xxx show only options with exact value \"xxx\"\n" " c:xxx show only options matching the evaluated " - "condition \"xxx\", using following variables: name, parent_name, " - "type (bool/int/str/col), default_value, default_value_undef, " - "value, value_undef, value_changed, parent_value, min, max, " - "description, description_en, string_values\n" + "condition \"xxx\", using following variables: file, section, " + "option, name, parent_name, type (bool/int/str/col), " + "default_value, default_value_undef, value, value_undef, " + "value_changed, parent_value, min, max, description, " + "description_en, string_values\n" " s:x,y sort options by fields x,y " "(see /help fset.look.sort)\n" " s: reset sort to its default value " @@ -531,7 +532,11 @@ fset_command_init () "\n" "The following variables can be used in these options:\n" " - option data, with color and padded by spaces on the right:\n" - " - ${name}: option name\n" + " - ${file}: configuration file (for example \"weechat\" or " + "\"irc\")\n" + " - ${section}: section\n" + " - ${option}: option name\n" + " - ${name}: full option name (file.section.option)\n" " - ${parent_name}: parent option name\n" " - ${type}: option type (translated)\n" " - ${type_en}: option type (in English)\n" @@ -586,7 +591,7 @@ fset_command_init () " show all values which contain \"red\":\n" " /fset =red\n" " show all integer options in irc plugin:\n" - " /fset c:${name} =~ ^irc.* && ${type} == int"), + " /fset c:${file} == irc && ${type} == int"), "-bar" " || -toggle_bar" " || -refresh" |