From d7ec339e3ea668668cbe5fb817bf9914d0265116 Mon Sep 17 00:00:00 2001 From: James Booth Date: Sat, 20 Jun 2015 00:38:28 +0100 Subject: Added /roster empty command --- src/command/command.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/command/command.c') diff --git a/src/command/command.c b/src/command/command.c index af04f23a..43bca08b 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.", "", @@ -1396,6 +1397,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"); -- cgit 1.4.1-2-gfad0 >summary refs log blame commit diff stats
path: root/tests/unittests/helpers.h
blob: 75d446d021fd4255967ff299bf207c31f65d759c (plain) (tree)
1
2
3
4
5
6
7
8
9
10