summaryrefslogtreecommitdiff
path: root/src/tool_helpers.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2015-11-24 10:11:06 +0100
committerDaniel Stenberg <daniel@haxx.se>2015-11-24 10:11:06 +0100
commitbb9ec5ebb29a88d5b55eece1ea90198a514a736f (patch)
tree702bc81d1a3e2b26b9d41a52a89265c1eab161bd /src/tool_helpers.c
parentc341311a0e875f4fc5229721c2f6ef19414f514e (diff)
downloadcurl-bb9ec5ebb29a88d5b55eece1ea90198a514a736f.tar.gz
curl: expanded the -XHEAD warning text
... to also mention the specific options used.
Diffstat (limited to 'src/tool_helpers.c')
-rw-r--r--src/tool_helpers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tool_helpers.c b/src/tool_helpers.c
index e264ac795..5661ac9d9 100644
--- a/src/tool_helpers.c
+++ b/src/tool_helpers.c
@@ -110,7 +110,7 @@ void customrequest_helper(struct OperationConfig *config, HttpReq req,
}
else if(curl_strequal(method, "head")) {
warnf(config->global,
- "Setting custom HTTP method to HEAD may not work the way you "
- "want.\n");
+ "Setting custom HTTP method to HEAD with -X/--request may not work "
+ "the way you want. Consider using -I/--head instead.\n");
}
}