swanctl: Fix typos in usage for swanctl rekey/terminate commands
Closes strongswan/strongswan#113.
This commit is contained in:
committed by
Tobias Brunner
parent
04ef28b4df
commit
b98db90763
@@ -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"},
|
||||
|
||||
@@ -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"},
|
||||
|
||||
Reference in New Issue
Block a user