summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2018-12-12 11:48:56 +0100
committerDaniel Stenberg <daniel@haxx.se>2018-12-13 08:35:55 +0100
commitfdc5563b6e80bcdda89d68705cb5488ecc3a48ce (patch)
treec455aa7c53691e0f0e417c2387a1b5b4a03a663c
parentd8607da1a68f2482302ccdbb7cf457210b9ccfc9 (diff)
downloadcurl-fdc5563b6e80bcdda89d68705cb5488ecc3a48ce.tar.gz
docs: fix the --tls-max description
Reported-by: Tobias Lindgren Pointed out in #3367 Closes #3368
-rw-r--r--docs/cmdline-opts/tls-max.d8
-rw-r--r--src/tool_help.c2
2 files changed, 5 insertions, 5 deletions
diff --git a/docs/cmdline-opts/tls-max.d b/docs/cmdline-opts/tls-max.d
index 7ae862252..b5616f124 100644
--- a/docs/cmdline-opts/tls-max.d
+++ b/docs/cmdline-opts/tls-max.d
@@ -4,11 +4,11 @@ Tags: Versions
Protocols: SSL
Added: 7.54.0
Requires: TLS
-See-also: tlsv1.0 tlsv1.1 tlsv1.2
-Help: Use TLSv1.0 or greater
+See-also: tlsv1.0 tlsv1.1 tlsv1.2 tlsv1.3
+Help: Set maximum allowed TLS version
---
-VERSION defines maximum supported TLS version. A minimum is defined
-by arguments tlsv1.0 or tlsv1.1 or tlsv1.2.
+VERSION defines maximum supported TLS version. The minimum acceptable version
+is set by tlsv1.0, tlsv1.1, tlsv1.2 or tlsv1.3.
.RS
.IP "default"
diff --git a/src/tool_help.c b/src/tool_help.c
index d2deed3cf..484c5219c 100644
--- a/src/tool_help.c
+++ b/src/tool_help.c
@@ -437,7 +437,7 @@ static const struct helptxt helptext[] = {
{"-z, --time-cond <time>",
"Transfer based on a time condition"},
{" --tls-max <VERSION>",
- "Use TLSv1.0 or greater"},
+ "Set maximum allowed TLS version"},
{" --tls13-ciphers <list of TLS 1.3 ciphersuites>",
"TLS 1.3 cipher suites to use"},
{" --tlsauthtype <type>",