From 3ea95346c9fef3497c468d0eb333a9bd121cb462 Mon Sep 17 00:00:00 2001 From: James Booth Date: Tue, 15 Jan 2013 21:41:17 +0000 Subject: [PATCH] Updated help for /msg and /info in chat rooms --- src/command.c | 20 +++++++++++--------- 1 file 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",