diff options
author | James Booth <boothj5@gmail.com> | 2015-06-20 00:39:08 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2015-06-20 00:39:08 +0100 |
commit | 16999a396497c90778ef6bdbab11a419a570aa0f (patch) | |
tree | 5586f73e19e58a8e8494c3edae5f47ac3ad18693 /src/command/command.c | |
parent | edbb3d938edf61946df0c89779a1e9377356602d (diff) | |
parent | d7ec339e3ea668668cbe5fb817bf9914d0265116 (diff) | |
download | profani-tty-16999a396497c90778ef6bdbab11a419a570aa0f.tar.gz |
Merge branch 'master' into openpgp
Diffstat (limited to 'src/command/command.c')
-rw-r--r-- | src/command/command.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/command/command.c b/src/command/command.c index 00f53b53..fbb9f29d 100644 --- a/src/command/command.c +++ b/src/command/command.c @@ -204,6 +204,7 @@ static struct cmd_t command_defs[] = "size : Percentage of the screen taken up by the roster (1-99).", "add jid [nick] : Add a new item to the roster.", "remove jid : Removes an item from the roster.", + "empty : Remove all items from roster." "nick jid nick : Change a contacts nickname.", "clearnick jid : Removes the current nickname.", "", @@ -1409,6 +1410,7 @@ cmd_init(void) autocomplete_add(roster_ac, "nick"); autocomplete_add(roster_ac, "clearnick"); autocomplete_add(roster_ac, "remove"); + autocomplete_add(roster_ac, "empty"); autocomplete_add(roster_ac, "show"); autocomplete_add(roster_ac, "hide"); autocomplete_add(roster_ac, "by"); |