summaryrefslogtreecommitdiff
path: root/src/plugins/irc
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2010-03-23 16:26:36 +0100
committerSebastien Helleu <flashcode@flashtux.org>2010-03-23 16:26:36 +0100
commit8cfabb469677b027422ea72d88f40787feb46d91 (patch)
tree231e34733dbd542c36c3be189f28f7d62f635952 /src/plugins/irc
parenta0f442a84e63a1969f89a0d3c05137f6403a8c74 (diff)
downloadweechat-8cfabb469677b027422ea72d88f40787feb46d91.zip
Add examples in /help dcc, update german translations
Diffstat (limited to 'src/plugins/irc')
-rw-r--r--src/plugins/irc/irc-command.c15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/plugins/irc/irc-command.c b/src/plugins/irc/irc-command.c
index 40594f014..d611bada4 100644
--- a/src/plugins/irc/irc-command.c
+++ b/src/plugins/irc/irc-command.c
@@ -4242,7 +4242,12 @@ irc_command_init ()
N_("action [nickname [file]]"),
N_(" action: 'send' (file) or 'chat'\n"
"nickname: nickname to send file or chat\n"
- " file: filename (on local host)"),
+ " file: filename (on local host)\n\n"
+ "Examples:\n"
+ " chat with nick \"toto\":\n"
+ " /dcc chat toto\n"
+ " send file \"/home/foo/bar.txt\" to nick \"toto\":\n"
+ " /dcc send toto /home/foo/bar.txt"),
"chat %(nicks)"
" || send %(nicks) %(filename)",
&irc_command_dcc, NULL);
@@ -4347,10 +4352,10 @@ irc_command_init ()
" comment: comment for kick\n\n"
"It is possible to kick/ban with a mask, nick "
"will be extracted from mask and replaced by "
- "\"*\", for example:\n"
- " /kickban toto!*@host.com\n"
- " will ban \"*!*@host.com\" and then kick "
- "\"toto\"."),
+ "\"*\".\n\n"
+ "Example:\n"
+ " ban \"*!*@host.com\" and then kick \"toto\":\n"
+ " /kickban toto!*@host.com"),
"%(irc_channel_nicks_hosts) %-", &irc_command_kickban, NULL);
weechat_hook_command ("kill",
N_("close client-server connection"),