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
Родитель c341311a0e
Коммит bb9ec5ebb2
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

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