about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorKristofer M White <me@kmwhite.net>2014-02-25 18:45:45 +0000
committerKristofer M White <me@kmwhite.net>2014-02-25 18:45:45 +0000
commit79d55a4668e7ae703ee551ad9a14109e084f872d (patch)
treeab953a8893307ffc67cf55d4d8d6f723a3064a94 /src
parentc00376087f2ea0060b40d6adc1ef81ef17d8868a (diff)
downloadprofani-tty-79d55a4668e7ae703ee551ad9a14109e084f872d.tar.gz
Updating cmd description
Diffstat (limited to 'src')
-rw-r--r--src/command/command.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/command/command.c b/src/command/command.c
index d8f55205..d7833433 100644
--- a/src/command/command.c
+++ b/src/command/command.c
@@ -235,9 +235,9 @@ static struct cmd_t command_defs[] =
           NULL } } },
 
     { "/join",
-        cmd_join, parse_args_with_freetext, 1, 2, NULL,
-        { "/join room[@server] [nick]", "Join a chat room.",
-        { "/join room[@server] [nick]",
+        cmd_join, parse_args_with_freetext, 1, 3, NULL,
+        { "/join room[@server] [nick] [password]", "Join a chat room.",
+        { "/join room[@server] [nick] [password]",
           "--------------------------",
           "Join a chat room at the conference server.",
           "If nick is specified you will join with this nickname.",
@@ -247,6 +247,7 @@ static struct cmd_t command_defs[] =
           "",
           "Example : /join jdev@conference.jabber.org",
           "Example : /join jdev@conference.jabber.org mynick",
+          "Example : /join private@conference.jabber.org mynick mypassword",
           "Example : /join jdev (as user@jabber.org will join jdev@conference.jabber.org)",
           NULL } } },