]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
swanctl: Fix typos in usage for swanctl rekey/terminate commands
authorMatt Selsky <matthew.selsky@twosigma.com>
Tue, 2 Oct 2018 04:56:31 +0000 (00:56 -0400)
committerTobias Brunner <tobias@strongswan.org>
Tue, 2 Oct 2018 07:30:03 +0000 (09:30 +0200)
Closes strongswan/strongswan#113.

src/swanctl/commands/rekey.c
src/swanctl/commands/terminate.c

index f44ecaa3cc6f66810b948e0e1551f1e42d2db9c6..65a402029c2a45c7ebbcba94d937679a6ad31a93 100644 (file)
@@ -118,7 +118,7 @@ static void __attribute__ ((constructor))reg()
 {
        command_register((command_t) {
                rekey, 'R', "rekey", "rekey an SA",
-               {"--child <name> | --ike <name | --child-id <id> | --ike-id <id>",
+               {"--child <name> | --ike <name> | --child-id <id> | --ike-id <id>",
                 "[--reauth] [--raw|--pretty]"},
                {
                        {"help",                'h', 0, "show usage information"},
index bce404a54f2efc02012e4021a3da2f631d7137fc..2309843b259919de994158b4e0db3c58c32a6c63 100644 (file)
@@ -150,7 +150,7 @@ static void __attribute__ ((constructor))reg()
 {
        command_register((command_t) {
                terminate, 't', "terminate", "terminate a connection",
-               {"--child <name> | --ike <name | --child-id <id> | --ike-id <id>",
+               {"--child <name> | --ike <name> | --child-id <id> | --ike-id <id>",
                 "[--timeout <s>] [--raw|--pretty]"},
                {
                        {"help",                'h', 0, "show usage information"},