From: Daniel Stenberg Date: Tue, 24 Nov 2015 09:11:06 +0000 (+0100) Subject: curl: expanded the -XHEAD warning text X-Git-Tag: curl-7_46_0~21 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bb9ec5ebb29a88d5b55eece1ea90198a514a736f;p=thirdparty%2Fcurl.git curl: expanded the -XHEAD warning text ... to also mention the specific options used. --- diff --git a/src/tool_helpers.c b/src/tool_helpers.c index e264ac795c..5661ac9d91 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"); } }