aboutsummaryrefslogtreecommitdiff
path: root/src/tool_help.c
diff options
context:
space:
mode:
authorDaniel Hwang <gnawhleinad@github.com>2016-10-09 16:00:25 -0700
committerDaniel Stenberg <daniel@haxx.se>2016-11-11 10:00:54 +0100
commitcdfda3ee827da069f1871722278fd82e7cbb4194 (patch)
treeb7990d962afd012e3ed1955dc364642a7f93c7f1 /src/tool_help.c
parentea80a2dcfcdc280ff412489dc3928600ec76296c (diff)
curl: Add --retry-connrefused
to consider ECONNREFUSED as a transient error. Closes #1064
Diffstat (limited to 'src/tool_help.c')
-rw-r--r--src/tool_help.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tool_help.c b/src/tool_help.c
index 9890cc83b..f4d648c01 100644
--- a/src/tool_help.c
+++ b/src/tool_help.c
@@ -198,6 +198,8 @@ static const char *const helptext[] = {
" --resolve HOST:PORT:ADDRESS Force resolve of HOST:PORT to ADDRESS",
" --retry NUM "
"Retry request NUM times if transient problems occur",
+ " --retry-connrefused "
+ "Consider \"connection refused\" a transient error",
" --retry-delay SECONDS Wait SECONDS between retries",
" --retry-max-time SECONDS Retry only within this period",
" --sasl-ir Enable initial response in SASL authentication",