swanctl: Properly register --counters commmand

Use C instead of c, which is already used for --load-conns.
This commit is contained in:
Tobias Brunner
2017-11-13 09:45:14 +01:00
parent 859cb93d28
commit f0c7cbd1d7
+1 -1
View File
@@ -140,7 +140,7 @@ static int counters(vici_conn_t *conn)
static void __attribute__ ((constructor))reg()
{
command_register((command_t) {
counters, 'c', "counters", "list or reset IKE event counters",
counters, 'C', "counters", "list or reset IKE event counters",
{"[--name <name>|--all] [--reset] [--raw|--pretty]"},
{
{"help", 'h', 0, "show usage information"},