about summary refs log tree commit diff stats
path: root/src/command/cmd_defs.c
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2019-05-03 11:11:40 +0200
committerGitHub <noreply@github.com>2019-05-03 11:11:40 +0200
commit4a165b81e6938186fbad59801051b972f77b6e0d (patch)
treee46d877f75e000f3fdbdc978d2d6466b01706137 /src/command/cmd_defs.c
parent45ea73125ff9a05f239152215072fc9910ecb338 (diff)
parentf082563bf2687465f0ca924985ec4d38277459ba (diff)
downloadprofani-tty-4a165b81e6938186fbad59801051b972f77b6e0d.tar.gz
Merge pull request #1084 from jubalh/occupants-char
Add occupants char
Diffstat (limited to 'src/command/cmd_defs.c')
-rw-r--r--src/command/cmd_defs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/command/cmd_defs.c b/src/command/cmd_defs.c
index d9b26259..c6561949 100644
--- a/src/command/cmd_defs.c
+++ b/src/command/cmd_defs.c
@@ -752,6 +752,7 @@ static struct cmd_t command_defs[] =
             CMD_TAG_UI)
         CMD_SYN(
             "/occupants show|hide [jid]",
+            "/occupants char <char>|none",
             "/occupants default show|hide [jid]",
             "/occupants size [<percent>]",
             "/occupants indent <indent>",
@@ -761,6 +762,8 @@ static struct cmd_t command_defs[] =
             "Show or hide room occupants, and occupants panel display settings.")
         CMD_ARGS(
             { "show",                  "Show the occupants panel in current room." },
+            { "char <char>",           "Prefix occupants with specified character." },
+            { "char none",             "Remove occupants character prefix." },
             { "hide",                  "Hide the occupants panel in current room." },
             { "show jid",              "Show jid in the occupants panel in current room." },
             { "hide jid",              "Hide jid in the occupants panel in current room." },