diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2014-06-29 11:48:04 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2014-06-29 11:48:04 +0200 |
commit | 9d3355b5a43336109d13a1030146254ec508845e (patch) | |
tree | 72d33f3caf37fb5b0b3d58f898e17eb6bde9b385 /src/core | |
parent | 44de5bac65fb3c1cc0a71aad044137d6b051ba6c (diff) | |
download | weechat-9d3355b5a43336109d13a1030146254ec508845e.zip |
core: add note about semicolon to separate commands in /help eval
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/wee-command.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/wee-command.c b/src/core/wee-command.c index d15a7bccc..b4069cd1c 100644 --- a/src/core/wee-command.c +++ b/src/core/wee-command.c @@ -7096,13 +7096,14 @@ command_init () &command_debug, NULL); hook_command ( NULL, "eval", - N_("evaluate expression and send result to buffer"), + N_("evaluate expression"), N_("[-n] <expression> || [-n] -c <expression1> <operator> <expression2>"), N_(" -n: display result without sending it to buffer (debug mode)\n" " -c: evaluate as condition: use operators and parentheses, " "return a boolean value (\"0\" or \"1\")\n" "expression: expression to evaluate, variables with format " - "${variable} are replaced (see below)\n" + "${variable} are replaced (see below); many commands can be " + "separated by semicolons\n" " operator: a logical or comparison operator:\n" " - logical operators:\n" " && boolean \"and\"\n" |