aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon-cmd/cmd/cmd_options.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2013-06-20 21:35:34 +0200
committerTobias Brunner <tobias@strongswan.org>2013-06-21 16:04:45 +0200
commit463314b55ac2d853c4eb1a0dcd8d560d728d500f (patch)
treeea9076f8456d630731b0427033644a0873c2929e /src/charon-cmd/cmd/cmd_options.c
parente8d6b91ebd365fd53cfe985a58c2acf00499a5a2 (diff)
downloadstrongswan-463314b55ac2d853c4eb1a0dcd8d560d728d500f.tar.bz2
strongswan-463314b55ac2d853c4eb1a0dcd8d560d728d500f.tar.xz
charon-cmd: Simplify usage output for authentication profiles
The man page describes the min full.
Diffstat (limited to 'src/charon-cmd/cmd/cmd_options.c')
-rw-r--r--src/charon-cmd/cmd/cmd_options.c14
1 files changed, 3 insertions, 11 deletions
diff --git a/src/charon-cmd/cmd/cmd_options.c b/src/charon-cmd/cmd/cmd_options.c
index 77d549d13..c9778d0e4 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]",
}},
};