about summary refs log tree commit diff stats
path: root/src/command.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2013-01-15 21:41:17 +0000
committerJames Booth <boothj5@gmail.com>2013-01-15 21:41:17 +0000
commit3ea95346c9fef3497c468d0eb333a9bd121cb462 (patch)
tree9f20da10f841eb1eccf8131cdbab0b6ac9fe96da /src/command.c
parent84ea4a77c948264159415d9e9eb8e56285a7ef53 (diff)
downloadprofani-tty-3ea95346c9fef3497c468d0eb333a9bd121cb462.tar.gz
Updated help for /msg and /info in chat rooms
Diffstat (limited to 'src/command.c')
-rw-r--r--src/command.c20
1 files changed, 11 insertions, 9 deletions
diff --git a/src/command.c b/src/command.c
index d79e4623..4d30d992 100644
--- a/src/command.c
+++ b/src/command.c
@@ -240,23 +240,25 @@ static struct cmd_t main_commands[] =
 
     { "/msg",
         _cmd_msg, parse_args_with_freetext, 1, 2,
-        { "/msg jid [message]", "Start chat with user.",
-        { "/msg jid [message]",
-          "------------------",
+        { "/msg jid|nick [message]", "Start chat with user.",
+        { "/msg jid|nick [message]",
+          "-----------------------",
           "Open a chat window with for the user JID (Jabber ID)  and send the message if one is supplied.",
-          "When in a chat room, will start private chat with the room member.",
+          "When in a chat room, supply the nickname to start private chat with the room member.",
+          "Use quotes if the nickname includes spaces.",
           "",
           "Example : /msg myfriend@server.com Hey, here's a message!",
           "Example : /msg otherfriend@server.com",
-          "Example : /msg room@conference.server.com/nick A private message",
+          "Example : /msg Bob Here is a private message",
+          "Example : /msg \"My Friend\" Hi, how are you?",
           NULL } } },
 
     { "/info",
         _cmd_info, parse_args, 1, 1,
-        { "/info jid", "Find out a contacts presence information.",
-        { "/info jid",
-          "---------",
-          "Find out a contacts presence information.",
+        { "/info jid|nick", "Find out a contacts presence information.",
+        { "/info jid|nick",
+          "--------------",
+          "Find out a contact, or room members presence information.",
           NULL } } },
 
     { "/join",