mirror of
https://github.com/curl/curl.git
synced 2026-05-17 01:16:23 +03:00
curl: improve error message for --head with -J
... it now focuses on the "output of headers" combined with the --remote-header-name option, as that is actually the problem. Both --head and --include can output headers. Reported-by: nimaje on github Fixes #7987 Closes #8045
This commit is contained in:
parent
b011656804
commit
ffb6a9e8a6
1 changed files with 1 additions and 1 deletions
|
|
@ -69,7 +69,7 @@ const char *param2text(int res)
|
|||
case PARAM_NO_NOT_BOOLEAN:
|
||||
return "used '--no-' for option that isn't a boolean";
|
||||
case PARAM_CONTDISP_SHOW_HEADER:
|
||||
return "--include and --remote-header-name cannot be combined";
|
||||
return "showing headers and --remote-header-name cannot be combined";
|
||||
case PARAM_CONTDISP_RESUME_FROM:
|
||||
return "--continue-at and --remote-header-name cannot be combined";
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue