diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2024-02-17 10:58:40 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2024-02-17 10:58:40 +0100 |
commit | 831dcac808800bfcc38fbde698c57181bbe0e039 (patch) | |
tree | 4fa840bbe6f63de5a2a7eb09bb4975c00a1b63e7 /src/core/wee-command.c | |
parent | 4e0f7dfd251cae844d09bfc5a7d83b6b0a187b3e (diff) | |
download | weechat-831dcac808800bfcc38fbde698c57181bbe0e039.zip |
core: list operators by order of priority in `/help eval` (issue #2005)
Diffstat (limited to 'src/core/wee-command.c')
-rw-r--r-- | src/core/wee-command.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/core/wee-command.c b/src/core/wee-command.c index 9cfc57719..f901fdffe 100644 --- a/src/core/wee-command.c +++ b/src/core/wee-command.c @@ -8357,17 +8357,11 @@ command_init () N_("For name of hdata and variables, please look at \"Plugin API " "reference\", function \"weechat_hdata_get\"."), "", - N_("Logical operators:"), + N_("Logical operators (by order of priority):"), N_(" && boolean \"and\""), N_(" || boolean \"or\""), "", - N_("Comparison operators:"), - N_(" == equal"), - N_(" != not equal"), - N_(" <= less or equal"), - N_(" < less"), - N_(" >= greater or equal"), - N_(" > greater"), + N_("Comparison operators (by order of priority):"), N_(" =~ is matching POSIX extended regex"), N_(" !~ is NOT matching POSIX extended regex"), N_(" ==* is matching mask, case sensitive (wildcard \"*\" is allowed)"), @@ -8378,6 +8372,12 @@ command_init () N_(" !!- is NOT included, case sensitive"), N_(" =- is included, case insensitive"), N_(" !- is NOT included, case insensitive"), + N_(" == equal"), + N_(" != not equal"), + N_(" <= less or equal"), + N_(" < less"), + N_(" >= greater or equal"), + N_(" > greater"), "", N_("Examples (simple strings):"), AI(" /eval -n ${raw:${info:version}} ==> ${info:version}"), |