diff options
author | Daniel Stenberg <daniel@haxx.se> | 2015-11-24 10:11:06 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2015-11-24 10:11:06 +0100 |
commit | bb9ec5ebb29a88d5b55eece1ea90198a514a736f (patch) | |
tree | 702bc81d1a3e2b26b9d41a52a89265c1eab161bd /src | |
parent | c341311a0e875f4fc5229721c2f6ef19414f514e (diff) | |
download | curl-bb9ec5ebb29a88d5b55eece1ea90198a514a736f.tar.gz |
curl: expanded the -XHEAD warning text
... to also mention the specific options used.
Diffstat (limited to 'src')
-rw-r--r-- | src/tool_helpers.c | 4 |
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"); } } |