aboutsummaryrefslogtreecommitdiffstats
path: root/src/pt-tls-client/pt-tls-client.c
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2017-09-09 10:31:02 +0200
committerAndreas Steffen <andreas.steffen@strongswan.org>2017-09-09 10:31:02 +0200
commit165d28174d81aec697859203f709744e908d2abf (patch)
treeb899f315319c0433085e79dfc1d7faa91a2fed26 /src/pt-tls-client/pt-tls-client.c
parent94bdd463d85b90f16cf41e2b73ec8b115d96626e (diff)
downloadstrongswan-165d28174d81aec697859203f709744e908d2abf.tar.bz2
strongswan-165d28174d81aec697859203f709744e908d2abf.tar.xz
pt-tls-client: Introduced --options as a synonym for --optionsfrom
Diffstat (limited to 'src/pt-tls-client/pt-tls-client.c')
-rw-r--r--src/pt-tls-client/pt-tls-client.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pt-tls-client/pt-tls-client.c b/src/pt-tls-client/pt-tls-client.c
index d7e78c497..841724eb3 100644
--- a/src/pt-tls-client/pt-tls-client.c
+++ b/src/pt-tls-client/pt-tls-client.c
@@ -45,7 +45,7 @@ static void usage(FILE *out)
" [--cert <file>]+ [--keyid <hex>|--key <file>]\n"
" [--key-type rsa|ecdsa] [--client <client-id>]\n"
" [--secret <password>] [--mutual] [--quiet]\n"
- " [--debug <level>] [--optionsfrom <filename>]\n");
+ " [--debug <level>] [--options <filename>]\n");
}
/**
@@ -289,6 +289,7 @@ int main(int argc, char *argv[])
{"mutual", no_argument, NULL, 'm' },
{"quiet", no_argument, NULL, 'q' },
{"debug", required_argument, NULL, 'd' },
+ {"options", required_argument, NULL, '+' },
{"optionsfrom", required_argument, NULL, '+' },
{0,0,0,0 }
};