about summary refs log tree commit diff stats
path: root/src/command/command.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-10-12 01:10:46 +0100
committerJames Booth <boothj5@gmail.com>2014-10-12 01:10:46 +0100
commit77684cda007391ba57cfbaea22bde071bee2925d (patch)
treef2e81c7984f861a618d90d4cd5f55c7e27f08fc8 /src/command/command.c
parent8b1d0bdc3f4b1577a0fff767f670174c2b20113d (diff)
downloadprofani-tty-77684cda007391ba57cfbaea22bde071bee2925d.tar.gz
Allow /role list and /affiliation list with no args
Diffstat (limited to 'src/command/command.c')
-rw-r--r--src/command/command.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/command/command.c b/src/command/command.c
index c09bf63e..7d35c609 100644
--- a/src/command/command.c
+++ b/src/command/command.c
@@ -354,7 +354,7 @@ static struct cmd_t command_defs[] =
         { "/affiliation set|list [affiliation] [jid]",
           "-----------------------------------------",
           "set affiliation jid - Set the affiliation of user with jid.",
-          "list affiliation    - List all users with the specified affiliation.",
+          "list [affiliation]  - List all users with the specified affiliation, or all if none specified.",
           "The affiliation may be one of owner, admin, member, outcast or none.",
           NULL } } },
 
@@ -364,7 +364,7 @@ static struct cmd_t command_defs[] =
         { "/role set|list [role] [nick]",
           "----------------------------",
           "set role nick - Set the role of occupant with nick.",
-          "list role     - List all occupants with the specified role.",
+          "list [role]   - List all occupants with the specified role, or all if none specified.",
           "The role may be one of moderator, participant, visitor or none.",
           NULL } } },