diff options
author | James Booth <boothj5@gmail.com> | 2014-11-05 23:17:14 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2014-11-05 23:17:14 +0000 |
commit | e445356c5ad02628f48e8b8a1a9ce56971d0fc21 (patch) | |
tree | ab06a6b3c258b7395d45cbd7f9a9f01394d5807d /src/command | |
parent | f5278fe3b7f02d50e8705814dacfd088b1c4e649 (diff) | |
download | profani-tty-e445356c5ad02628f48e8b8a1a9ce56971d0fc21.tar.gz |
Updated /who help
Diffstat (limited to 'src/command')
-rw-r--r-- | src/command/command.c | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/src/command/command.c b/src/command/command.c index 2c3bd3ba..b87e50e6 100644 --- a/src/command/command.c +++ b/src/command/command.c @@ -506,18 +506,21 @@ static struct cmd_t command_defs[] = { "/who", cmd_who, parse_args, 0, 2, NULL, - { "/who [status] [group]", "Show contacts/room participants with chosen status.", - { "/who [status] [group]", - "---------------------", - "Show contacts with the specified status, no status shows all contacts.", - "Possible statuses are: online, offline, away, dnd, xa, chat, available, unavailable.", - "The groups argument will show only contacts in that group.", - "If in a chat room, the participants with the supplied status are displayed.", + { "/who [status|role|affiliation] [group]", "Show contacts/room occupants with chosen status, role or affiliation", + { "/who [status|role|affiliation] [group]", + "--------------------------------------", + "Normal usage:", + "Status may be one of - online, offline, away, dnd, xa, chat, available, unavailable, or any where:", + "online : Contacts that are online, chat, away, xa, dnd", + "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).", + "", + "The group argument filters the list by that group.", "", - "online : Contacts that are connected, i.e. online, chat, away, xa, dnd", - "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.", - "any : Contacts with any status (same as calling with no argument.", + "In a chat room, a role or affiliation may also be supplied instead of status.", + "Roles: moderator, participant, visitor", + "Affiliations: owner, admin, member", NULL } } }, { "/close", @@ -1244,7 +1247,6 @@ cmd_init(void) autocomplete_add(who_room_ac, "owner"); autocomplete_add(who_room_ac, "admin"); autocomplete_add(who_room_ac, "member"); - autocomplete_add(who_room_ac, "outcast"); bookmark_ac = autocomplete_new(); autocomplete_add(bookmark_ac, "list"); |