]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
charon-cmd: Simplify usage output for authentication profiles
authorTobias Brunner <tobias@strongswan.org>
Thu, 20 Jun 2013 19:35:34 +0000 (21:35 +0200)
committerTobias Brunner <tobias@strongswan.org>
Fri, 21 Jun 2013 14:04:45 +0000 (16:04 +0200)
The man page describes the min full.

src/charon-cmd/cmd/cmd_options.c

index 77d549d13867ac6e1332f357eb200282e63b9c67..c9778d0e499b771ed48f04fe8f876121c4f14da1 100644 (file)
@@ -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]",
        }},
 };