diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2019-12-18 21:18:59 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2019-12-18 21:18:59 +0100 |
commit | a13099aa635d7587f00bdd375c129b3e081e98b2 (patch) | |
tree | edca338815ff62d5fccb37183f199c6eadd16f7c /doc/it/autogen | |
parent | 7e833ee60b6ef3fc251a5fc85b1edd7b700c92a6 (diff) | |
download | weechat-a13099aa635d7587f00bdd375c129b3e081e98b2.zip |
core: add debug option "-d" in command /eval (issue #1434)
Diffstat (limited to 'doc/it/autogen')
-rw-r--r-- | doc/it/autogen/user/weechat_commands.adoc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/it/autogen/user/weechat_commands.adoc b/doc/it/autogen/user/weechat_commands.adoc index 322fba90e..a956e0b1f 100644 --- a/doc/it/autogen/user/weechat_commands.adoc +++ b/doc/it/autogen/user/weechat_commands.adoc @@ -263,11 +263,12 @@ infolists: display infos about infolists * `+eval+`: evaluate expression ---- -/eval [-n|-s] <expression> - [-n] -c <expression1> <operator> <expression2> +/eval [-n|-s] [-d] <expression> + [-n] [-d] -c <expression1> <operator> <expression2> -n: display result without sending it to buffer (debug mode) -s: split expression before evaluating it (many commands can be separated by semicolons) + -d: display debug output after evaluation -c: evaluate as condition: use operators and parentheses, return a boolean value ("0" or "1") expression: expression to evaluate, variables with format ${variable} are replaced (see below); many commands can be separated by semicolons operator: a logical or comparison operator: |