about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/command/cmd_defs.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/command/cmd_defs.c b/src/command/cmd_defs.c
index 4164eb47..49c9bf95 100644
--- a/src/command/cmd_defs.c
+++ b/src/command/cmd_defs.c
@@ -728,10 +728,10 @@ static struct cmd_t command_defs[] = {
               CMD_TAG_GROUPCHAT,
               CMD_TAG_UI)
       CMD_SYN(
-              "/occupants show|hide [jid]",
+              "/occupants show|hide [jid|offline]",
               "/occupants char <char>|none",
               "/occupants color on|off",
-              "/occupants default show|hide [jid]",
+              "/occupants default show|hide [jid|offline]",
               "/occupants size [<percent>]",
               "/occupants indent <indent>",
               "/occupants header char <char>|none",
@@ -747,8 +747,11 @@ static struct cmd_t command_defs[] = {
               { "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." },
+              { "show offline", "Show offline occupants panel in current room." },
+              { "hide offline", "Hide offline occupants panel in current room." },
               { "default show|hide", "Whether occupants are shown by default in new rooms." },
               { "default show|hide jid", "Whether occupants jids are shown by default in new rooms." },
+              { "default show|hide offline", "Whether offline occupants are shown by default in new rooms." },
               { "size <percent>", "Percentage of the screen taken by the occupants list in rooms (1-99)." },
               { "indent <indent>", "Indent contact line by <indent> spaces (0 to 10)." },
               { "header char <char>", "Prefix occupants headers with specified character." },