From bb9ec5ebb29a88d5b55eece1ea90198a514a736f Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 24 Nov 2015 10:11:06 +0100 Subject: [PATCH] curl: expanded the -XHEAD warning text ... to also mention the specific options used. --- src/tool_helpers.c | 4 ++-- 1 file 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"); } }