tool_help: Moved --no-alpn and --no-npn to be listed alphabetically
authorSteve Holme <steve_holme@hotmail.com>
Sun, 23 Feb 2014 16:53:55 +0000 (16:53 +0000)
committerSteve Holme <steve_holme@hotmail.com>
Tue, 25 Feb 2014 21:38:36 +0000 (21:38 +0000)
...and added the HTTP suffix as these options are only used for HTTP2
based connections.

src/tool_help.c

index d00e6dc..3f93b77 100644 (file)
@@ -107,8 +107,6 @@ static const char *const helptext[] = {
   " -0, --http1.0       Use HTTP 1.0 (H)",
   "     --http1.1       Use HTTP 1.1 (H)",
   "     --http2         Use HTTP 2 (H)",
-  "     --no-npn        Disable the NPN TLS extension",
-  "     --no-alpn       Disable the ALPN TLS extension",
   "     --ignore-content-length  Ignore the HTTP Content-Length header",
   " -i, --include       Include protocol headers in the output (H/F)",
   " -k, --insecure      Allow connections to SSL sites without certs (H)",
@@ -140,8 +138,10 @@ static const char *const helptext[] = {
   " -n, --netrc         Must read .netrc for user name and password",
   "     --netrc-optional Use either .netrc or URL; overrides -n",
   "     --netrc-file FILE  Set up the netrc filename to use",
+  "     --no-alpn       Disable the ALPN TLS extension (H)",
   " -N, --no-buffer     Disable buffering of the output stream",
   "     --no-keepalive  Disable keepalive use on the connection",
+  "     --no-npn        Disable the NPN TLS extension (H)",
   "     --no-sessionid  Disable SSL session-ID reusing (SSL)",
   "     --noproxy       List of hosts which do not use proxy",
   "     --ntlm          Use HTTP NTLM authentication (H)",