aboutsummaryrefslogtreecommitdiffstats
path: root/src/command/command.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-07-08 20:36:09 +0100
committerJames Booth <boothj5@gmail.com>2015-07-08 20:36:09 +0100
commitdd480cd72a4f806f58fa4576712f57d1e66aa17d (patch)
tree0ca7ed718b9b8761e3a8044e04f17d1d651f87fb /src/command/command.c
parent5e324e407fda7d616c8b6056495de9db1d5a49e0 (diff)
parent806afcc014ba272b32f63e7d28edaf25cacd279e (diff)
downloadprofani-tty-dd480cd72a4f806f58fa4576712f57d1e66aa17d.tar.gz
Merge remote-tracking branch 'quite/hideempty'
Diffstat (limited to 'src/command/command.c')
-rw-r--r--src/command/command.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/command/command.c b/src/command/command.c
index 105e41e5..8ed3a3b6 100644
--- a/src/command/command.c
+++ b/src/command/command.c
@@ -196,9 +196,11 @@ static struct cmd_t command_defs[] =
"show : Show the roster panel.",
"show offline : Show offline contacts in the roster panel.",
"show resource : Show contact's connected resources in the roster panel.",
+ "show empty : When grouping by presence, show empty presence groups",
"hide : Hide the roster panel.",
"hide offline : Hide offline contacts in the roster panel.",
"hide resource : Hide contact's connected resources in the roster panel.",
+ "hide empty : When grouping by presence, hide empty presence groups",
"by group : Group contacts in the roster panel by roster group.",
"by presence : Group contacts in the roster panel by presence.",
"by none : No grouping in the roster panel.",
@@ -1439,6 +1441,7 @@ cmd_init(void)
roster_option_ac = autocomplete_new();
autocomplete_add(roster_option_ac, "offline");
autocomplete_add(roster_option_ac, "resource");
+ autocomplete_add(roster_option_ac, "empty");
roster_by_ac = autocomplete_new();
autocomplete_add(roster_by_ac, "group");