swanctl: Properly register --counters commmand
Use C instead of c, which is already used for --load-conns.
This commit is contained in:
@@ -140,7 +140,7 @@ static int counters(vici_conn_t *conn)
|
|||||||
static void __attribute__ ((constructor))reg()
|
static void __attribute__ ((constructor))reg()
|
||||||
{
|
{
|
||||||
command_register((command_t) {
|
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]"},
|
{"[--name <name>|--all] [--reset] [--raw|--pretty]"},
|
||||||
{
|
{
|
||||||
{"help", 'h', 0, "show usage information"},
|
{"help", 'h', 0, "show usage information"},
|
||||||
|
|||||||
Reference in New Issue
Block a user