swanctl: Properly register --counters commmand
authorTobias Brunner <tobias@strongswan.org>
Mon, 13 Nov 2017 08:45:14 +0000 (09:45 +0100)
committerTobias Brunner <tobias@strongswan.org>
Mon, 13 Nov 2017 08:45:14 +0000 (09:45 +0100)
Use C instead of c, which is already used for --load-conns.

src/swanctl/commands/counters.c

index 77485c2..ab386b5 100644 (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"},