1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

Updated help for /msg and /info in chat rooms

This commit is contained in:
James Booth 2013-01-15 21:41:17 +00:00
parent 84ea4a77c9
commit 3ea95346c9

View File

@ -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",