mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
Added roster to new help format
This commit is contained in:
parent
a8eb281553
commit
b736883ac4
@ -198,10 +198,10 @@ static struct cmd_t command_defs[] =
|
|||||||
"If the message is omitted, a new chat window will be opened without sending a message. "
|
"If the message is omitted, a new chat window will be opened without sending a message. "
|
||||||
"Use quotes if the nickname includes spaces.",
|
"Use quotes if the nickname includes spaces.",
|
||||||
{
|
{
|
||||||
{ "<contact>", "Open chat window with contact, by JID or nickname." },
|
{ "<contact>", "Open chat window with contact, by JID or nickname." },
|
||||||
{ "<contact> [<message>]", "Send message to contact, by JID or nickname." },
|
{ "<contact> [<message>]", "Send message to contact, by JID or nickname." },
|
||||||
{ "<nick>", "Open private chat window with chat room occupant." },
|
{ "<nick>", "Open private chat window with chat room occupant." },
|
||||||
{ "<nick> [<message>]", "Send a private message to a chat room occupant." },
|
{ "<nick> [<message>]", "Send a private message to a chat room occupant." },
|
||||||
END_ARGS },
|
END_ARGS },
|
||||||
{
|
{
|
||||||
"/msg myfriend@server.com Hey, here's a message!",
|
"/msg myfriend@server.com Hey, here's a message!",
|
||||||
@ -211,48 +211,60 @@ static struct cmd_t command_defs[] =
|
|||||||
NULL } }
|
NULL } }
|
||||||
},
|
},
|
||||||
|
|
||||||
// OLD STYLE
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{ "/roster",
|
{ "/roster",
|
||||||
cmd_roster, parse_args_with_freetext, 0, 3, NULL,
|
cmd_roster, parse_args_with_freetext, 0, 3, NULL,
|
||||||
{ "/roster [command] [args..]", "Manage your roster.",
|
{ NULL, NULL, { NULL },
|
||||||
{ "/roster [command] [args..]",
|
{
|
||||||
"--------------------------",
|
"/roster",
|
||||||
"Manage your roster, and roster display settings.",
|
"/roster online",
|
||||||
"",
|
"/roster show [offline|resource|empty]",
|
||||||
"command - online|show|hide|by|size|add|remove|remove_all|nick|clearnick",
|
"/roster hide [offline|resource|empty]",
|
||||||
"",
|
"/roster by group|presence|none",
|
||||||
"online : Show all online contacts in your roster.",
|
"/roster size <percent>",
|
||||||
"show : Show the roster panel.",
|
"/roster add <jid> [<nick>]",
|
||||||
"show offline : Show offline contacts in the roster panel.",
|
"/roster remove <jid>",
|
||||||
"show resource : Show contact's connected resources in the roster panel.",
|
"/roster remove_all contacts",
|
||||||
"show empty : When grouping by presence, show empty presence groups",
|
"/roster nick <jid> <nick>",
|
||||||
"hide : Hide the roster panel.",
|
"/roster clearnick <jid>",
|
||||||
"hide offline : Hide offline contacts in the roster panel.",
|
NULL
|
||||||
"hide resource : Hide contact's connected resources in the roster panel.",
|
},
|
||||||
"hide empty : When grouping by presence, hide empty presence groups",
|
"Manage your roster, and roster display settings. "
|
||||||
"by group : Group contacts in the roster panel by roster group.",
|
|
||||||
"by presence : Group contacts in the roster panel by presence.",
|
|
||||||
"by none : No grouping in the roster panel.",
|
|
||||||
"size : Percentage of the screen taken up by the roster (1-99).",
|
|
||||||
"add jid [nick] : Add a new item to the roster.",
|
|
||||||
"remove jid : Removes an item from the roster.",
|
|
||||||
"remove_all contacts : Remove all items from roster.",
|
|
||||||
"nick jid nick : Change a contacts nickname.",
|
|
||||||
"clearnick jid : Removes the current nickname.",
|
|
||||||
"",
|
|
||||||
"Passing no arguments lists all contacts in your roster.",
|
"Passing no arguments lists all contacts in your roster.",
|
||||||
"",
|
{
|
||||||
"Example: /roster (show your roster)",
|
{ "online", "Show all online contacts in your roster." },
|
||||||
"Example: /roster add someone@contacts.org (add the contact)",
|
{ "show", "Show the roster panel." },
|
||||||
"Example: /roster add someone@contacts.org Buddy (add the contact with nickname 'Buddy')",
|
{ "show offline", "Show offline contacts in the roster panel." },
|
||||||
"Example: /roster remove someone@contacts.org (remove the contact)",
|
{ "show resource", "Show contact's connected resources in the roster panel." },
|
||||||
"Example: /roster nick myfriend@chat.org My Friend",
|
{ "show empty", "When grouping by presence, show empty presence groups." },
|
||||||
"Example: /roster clearnick kai@server.com (clears nickname)",
|
{ "show empty", "When grouping by presence, show empty presence groups." },
|
||||||
NULL,
|
{ "hide", "Hide the roster panel." },
|
||||||
NULL, NULL, NULL, NULL } } },
|
{ "hide offline", "Hide offline contacts in the roster panel." },
|
||||||
|
{ "hide resource", "Hide contact's connected resources in the roster panel." },
|
||||||
|
{ "hide empty", "When grouping by presence, hide empty presence groups." },
|
||||||
|
{ "by group", "Group contacts in the roster panel by roster group." },
|
||||||
|
{ "by presence", "Group contacts in the roster panel by presence." },
|
||||||
|
{ "by none", "No grouping in the roster panel." },
|
||||||
|
{ "size <precent>", "Percentage of the screen taken up by the roster (1-99)." },
|
||||||
|
{ "add <jid> [<nick>]", "Add a new item to the roster." },
|
||||||
|
{ "remove <jid>", "Removes an item from the roster." },
|
||||||
|
{ "remove_all contacts", "Remove all items from roster." },
|
||||||
|
{ "nick <jid> <nick>", "Change a contacts nickname." },
|
||||||
|
{ "clearnick <jid>", "Removes the current nickname." },
|
||||||
|
END_ARGS },
|
||||||
|
{
|
||||||
|
"/roster",
|
||||||
|
"/roster add someone@contacts.org",
|
||||||
|
"/roster add someone@contacts.org Buddy",
|
||||||
|
"/roster remove someone@contacts.org",
|
||||||
|
"/roster nick myfriend@chat.org My Friend",
|
||||||
|
"/roster clearnick kai@server.com",
|
||||||
|
"/roster size 15",
|
||||||
|
NULL } }
|
||||||
|
},
|
||||||
|
|
||||||
|
|
||||||
|
// OLD STYLE
|
||||||
|
|
||||||
|
|
||||||
{ "/group",
|
{ "/group",
|
||||||
cmd_group, parse_args_with_freetext, 0, 3, NULL,
|
cmd_group, parse_args_with_freetext, 0, 3, NULL,
|
||||||
|
Loading…
Reference in New Issue
Block a user