1
1
mirror of https://github.com/profanity-im/profanity.git synced 2025-01-03 14:57:42 -05:00

Updated /who help

This commit is contained in:
James Booth 2014-11-05 23:17:14 +00:00
parent f5278fe3b7
commit e445356c5a
2 changed files with 15 additions and 21 deletions

View File

@ -1,17 +1,9 @@
Update website help Update website help
Command reference
/ping
/info
/room
/form
/role
/affiliation
/privileges
/occupants
Chat room help - Add note about room creation, remove /who Chat room help - Add note about room creation, remove /who
Install guide - Debian, Ubuntu Install guide - Debian, Ubuntu
Update screensshots - Include MUC examples Update screensshots - Include MUC examples
Check helpout and FAQ sections for any updates Check helpout and FAQ sections for any updates
Add section on customising UI
Tag libstrophe release 0.8.7 Tag libstrophe release 0.8.7
https://github.com/strophe/libstrophe/milestones/0.8.7 https://github.com/strophe/libstrophe/milestones/0.8.7

View File

@ -506,18 +506,21 @@ static struct cmd_t command_defs[] =
{ "/who", { "/who",
cmd_who, parse_args, 0, 2, NULL, cmd_who, parse_args, 0, 2, NULL,
{ "/who [status] [group]", "Show contacts/room participants with chosen status.", { "/who [status|role|affiliation] [group]", "Show contacts/room occupants with chosen status, role or affiliation",
{ "/who [status] [group]", { "/who [status|role|affiliation] [group]",
"---------------------", "--------------------------------------",
"Show contacts with the specified status, no status shows all contacts.", "Normal usage:",
"Possible statuses are: online, offline, away, dnd, xa, chat, available, unavailable.", "Status may be one of - online, offline, away, dnd, xa, chat, available, unavailable, or any where:",
"The groups argument will show only contacts in that group.", "online : Contacts that are online, chat, away, xa, dnd",
"If in a chat room, the participants with the supplied status are displayed.", "available : Contacts that are available for chat - online, chat.",
"unavailable : Contacts that are not available for chat - offline, away, xa, dnd.",
"any : Contacts with any status (same as calling with no argument).",
"", "",
"online : Contacts that are connected, i.e. online, chat, away, xa, dnd", "The group argument filters the list by that group.",
"available : Contacts that are available for chat, i.e. online, chat.", "",
"unavailable : Contacts that are not available for chat, i.e. offline, away, xa, dnd.", "In a chat room, a role or affiliation may also be supplied instead of status.",
"any : Contacts with any status (same as calling with no argument.", "Roles: moderator, participant, visitor",
"Affiliations: owner, admin, member",
NULL } } }, NULL } } },
{ "/close", { "/close",
@ -1244,7 +1247,6 @@ cmd_init(void)
autocomplete_add(who_room_ac, "owner"); autocomplete_add(who_room_ac, "owner");
autocomplete_add(who_room_ac, "admin"); autocomplete_add(who_room_ac, "admin");
autocomplete_add(who_room_ac, "member"); autocomplete_add(who_room_ac, "member");
autocomplete_add(who_room_ac, "outcast");
bookmark_ac = autocomplete_new(); bookmark_ac = autocomplete_new();
autocomplete_add(bookmark_ac, "list"); autocomplete_add(bookmark_ac, "list");