diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2016-01-17 08:51:22 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2016-01-17 08:51:22 +0100 |
commit | 9d4554e8058d884bbc980599f3311dddcf5f9127 (patch) | |
tree | 8d143aca4ce54a53614b6c9df5b899b48bbbbdb8 /src | |
parent | 99ff5813d97de377daf0fedc232b33a0d0bf532f (diff) | |
download | weechat-9d4554e8058d884bbc980599f3311dddcf5f9127.zip |
irc: add examples in /help ctcp
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/irc/irc-command.c | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/plugins/irc/irc-command.c b/src/plugins/irc/irc-command.c index 4a836de62..0b8e9984f 100644 --- a/src/plugins/irc/irc-command.c +++ b/src/plugins/irc/irc-command.c @@ -6254,10 +6254,15 @@ irc_command_init () "ctcp", N_("send a CTCP message (Client-To-Client Protocol)"), N_("[-server <server>] <target>[,<target>...] <type> [<arguments>]"), - N_(" server: send to this server (internal name)\n" - " target: nick or channel ('*' = current channel)\n" - " type: CTCP type (examples: \"version\", \"ping\", ..)\n" - "arguments: arguments for CTCP"), + N_(" server: send to this server (internal name)\n" + " target: nick or channel ('*' = current channel)\n" + " type: CTCP type (examples: \"version\", \"ping\", ..)\n" + "arguments: arguments for CTCP\n" + "\n" + "Examples:\n" + " /ctcp toto time\n" + " /ctcp toto version\n" + " /ctcp * version"), "-server %(irc_servers) %(irc_channel)|%(nicks)|* " IRC_COMMAND_CTCP_SUPPORTED_COMPLETION " || %(irc_channel)|%(nicks)|* " |