1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

curl: expanded the -XHEAD warning text

... to also mention the specific options used.
This commit is contained in:
Daniel Stenberg 2015-11-24 10:11:06 +01:00
parent c341311a0e
commit bb9ec5ebb2

View File

@ -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");
}
}