summaryrefslogtreecommitdiff
path: root/doc/en/autogen/user
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2018-01-08 22:01:11 +0100
committerSébastien Helleu <flashcode@flashtux.org>2018-01-08 22:01:11 +0100
commit5d88d08ef9e008358d87690697f73dd1ba3c2672 (patch)
tree3ed6741c5e76b75128b271d5ded8442c6da41b8d /doc/en/autogen/user
parent2ea510cc49f3a661c57a1a339bbc863d8dc82aae (diff)
downloadweechat-5d88d08ef9e008358d87690697f73dd1ba3c2672.zip
core: add options "-newbuffer", "-free" and "-switch" in command /print (issue #1113)
Diffstat (limited to 'doc/en/autogen/user')
-rw-r--r--doc/en/autogen/user/weechat_commands.adoc39
1 files changed, 21 insertions, 18 deletions
diff --git a/doc/en/autogen/user/weechat_commands.adoc b/doc/en/autogen/user/weechat_commands.adoc
index 5be5de5f7..af4305dd1 100644
--- a/doc/en/autogen/user/weechat_commands.adoc
+++ b/doc/en/autogen/user/weechat_commands.adoc
@@ -640,27 +640,30 @@ Without argument, this command lists loaded plugins.
* `+print+`: display text on a buffer
----
-/print [-buffer <number>|<name>] [-core|-current] [-y <line>] [-escape] [-date <date>] [-tags <tags>] [-action|-error|-join|-network|-quit] [<text>]
+/print [-buffer <number>|<name>] [-newbuffer <name>] [-free] [-switch] [-core|-current] [-y <line>] [-escape] [-date <date>] [-tags <tags>] [-action|-error|-join|-network|-quit] [<text>]
-stdout|-stderr [<text>]
-beep
- -buffer: display text in this buffer (default: buffer where command is executed)
- -core: alias of "-buffer core.weechat"
--current: display text on current buffer
- -y: display on a custom line (for buffer with free content only)
- line: line number for buffer with free content (first line is 0, a negative number displays after last line: -1 = after last line, -2 = two lines after last line, ...)
- -escape: interpret escaped chars (for example \a, \07, \x07)
- -date: message date, format can be:
- -n: 'n' seconds before now
- +n: 'n' seconds in the future
- n: 'n' seconds since the Epoch (see man time)
- date/time (ISO 8601): yyyy-mm-ddThh:mm:ss, example: 2014-01-19T04:32:55
- time: hh:mm:ss (example: 04:32:55)
- -tags: comma-separated list of tags (see /help filter for a list of tags most commonly used)
- text: text to display (prefix and message must be separated by "\t", if text starts with "-", then add a "\" before)
- -stdout: display text on stdout (escaped chars are interpreted)
- -stderr: display text on stderr (escaped chars are interpreted)
- -beep: alias of "-stderr \a"
+ -buffer: display text in this buffer (default: buffer where command is executed)
+-newbuffer: create a new buffer and display text in this buffer
+ -free: create a buffer with free content (with -newbuffer only)
+ -switch: switch to the buffer
+ -core: alias of "-buffer core.weechat"
+ -current: display text on current buffer
+ -y: display on a custom line (for buffer with free content only)
+ line: line number for buffer with free content (first line is 0, a negative number displays after last line: -1 = after last line, -2 = two lines after last line, ...)
+ -escape: interpret escaped chars (for example \a, \07, \x07)
+ -date: message date, format can be:
+ -n: 'n' seconds before now
+ +n: 'n' seconds in the future
+ n: 'n' seconds since the Epoch (see man time)
+ date/time (ISO 8601): yyyy-mm-ddThh:mm:ss, example: 2014-01-19T04:32:55
+ time: hh:mm:ss (example: 04:32:55)
+ -tags: comma-separated list of tags (see /help filter for a list of tags most commonly used)
+ text: text to display (prefix and message must be separated by "\t", if text starts with "-", then add a "\" before)
+ -stdout: display text on stdout (escaped chars are interpreted)
+ -stderr: display text on stderr (escaped chars are interpreted)
+ -beep: alias of "-stderr \a"
The options -action ... -quit use the prefix defined in options "weechat.look.prefix_*".