swanctl: Properly register --counters commmand
Use C instead of c, which is already used for --load-conns.
This commit is contained in:
1 parent
859cb93d28
commit
f0c7cbd1d7
1 file changed
+1
-1
@@ -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"},
|
||||
|
||||
Reference in new issue
Block a user