diff options
author | Thorben Günther <admin@xenrox.net> | 2021-03-08 19:15:24 +0100 |
---|---|---|
committer | Thorben Günther <admin@xenrox.net> | 2021-03-08 19:15:24 +0100 |
commit | 2dd909babbd118fe815b1be9378eee1f2447fd05 (patch) | |
tree | eebfa1ac60345f0de68804b8920fea0987d483b0 /src | |
parent | c8dba327605efb38e7e49ce91c736e5699f13be9 (diff) | |
download | profani-tty-2dd909babbd118fe815b1be9378eee1f2447fd05.tar.gz |
Cmd definitions: Add offline option to occupants
Diffstat (limited to 'src')
-rw-r--r-- | src/command/cmd_defs.c | 7 |
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." }, |