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

Tidied help on /info, /caps and /software

This commit is contained in:
James Booth 2013-02-17 16:59:20 +00:00
parent 5a107459be
commit 893242d361

View File

@ -266,26 +266,30 @@ static struct cmd_t main_commands[] =
{ "/info [jid|nick]", "Find out a contacts presence information.", { "/info [jid|nick]", "Find out a contacts presence information.",
{ "/info [jid|nick]", { "/info [jid|nick]",
"----------------", "----------------",
"Find out a contact, or room members presence information.", "Find out a contact, or room members presence information, including all of their available resources.",
"If in a chat window the parameter is not required, the current recipient will be used.", "If in a chat window the parameter is not required, the current recipient will be used.",
NULL } } }, NULL } } },
{ "/caps", { "/caps",
_cmd_caps, parse_args, 0, 1, _cmd_caps, parse_args, 0, 1,
{ "/caps [jid|nick]", "Find out a contacts client capabilities.", { "/caps [fulljid|nick]", "Find out a contacts client software capabilities.",
{ "/caps [jid|nick]", { "/caps [fulljid|nick]",
"----------------", "--------------------",
"Find out a contact, or room members client capabilities.", "Find out a contact, or room members client software capabilities.",
"If in a chat window the parameter is not required, the current recipient will be used.", "If in the console window or a regular chat window, a full JID is required.",
"If in a chat room, the nickname is required.",
"If in private chat, no parameter is required.",
NULL } } }, NULL } } },
{ "/software", { "/software",
_cmd_software, parse_args, 0, 1, _cmd_software, parse_args, 0, 1,
{ "/software [jid|nick]", "Find out a software version information about a contacts resource.", { "/software [fulljid|nick]", "Find out a software version information about a contacts resource.",
{ "/software [jid|nick]", { "/software [fulljid|nick]",
"--------------------", "------------------------",
"Find out a contact, or room members software version information.", "Find out a contact, or room members software version information.",
"If in a chat window the parameter is not required, the current recipient will be used.", "If in the console window or a regular chat window, a full JID is required.",
"If in a chat room, the nickname is required.",
"If in private chat, no parameter is required.",
NULL } } }, NULL } } },
{ "/status", { "/status",