From: Tobias Brunner Date: Thu, 20 Jun 2013 19:35:34 +0000 (+0200) Subject: charon-cmd: Simplify usage output for authentication profiles X-Git-Tag: 5.1.0dr1~85 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=463314b55ac2d853c4eb1a0dcd8d560d728d500f;p=thirdparty%2Fstrongswan.git charon-cmd: Simplify usage output for authentication profiles The man page describes the min full. --- diff --git a/src/charon-cmd/cmd/cmd_options.c b/src/charon-cmd/cmd/cmd_options.c index 77d549d138..c9778d0e49 100644 --- a/src/charon-cmd/cmd/cmd_options.c +++ b/src/charon-cmd/cmd/cmd_options.c @@ -54,16 +54,8 @@ cmd_option_t cmd_options[CMD_OPT_COUNT] = { "remote traffic selector to propose for remote side", {}}, { CMD_OPT_PROFILE, "profile", required_argument, "name", "authentication profile to use, where name is one of:", { - "ikev2-pub: IKEv2 with public key client authentication", - "ikev2-eap: IKEv2 with client EAP", - "ikev2-pub-eap: IKEv2 with public key client authentication + client EAP", - "ikev1-pub: IKEv1 public key authentication", - "ikev1-pub-am: use Aggressive Mode", - "ikev1-xauth: IKEv1 public key authentication + initiator XAuth", - "ikev1-xauth-am: use Aggressive Mode", - "ikev1-xauth-psk: IKEv1 PSK authentication + initiator XAuth (INSECURE!)", - "ikev1-xauth-psk-am: use Aggressive Mode", - "ikev1-hybrid: IKEv1 public key responder only + initiator XAuth", - "ikev1-hybrid-am: use Aggressive Mode", + " ikev2-pub, ikev2-eap, ikev2-pub-eap", + " ikev1-pub[-am], ikev1-xauth[-am],", + " ikev1-xauth-psk[-am], ikev1-hybrid[-am]", }}, };