docs/cmdline: refer to --show-headers instead of --include

As it is the new version of the option that is easier to understand what
it does by name.

Follow-up to 82c53f821f
Closes #14497
This commit is contained in:
Daniel Stenberg 2024-08-12 09:58:34 +02:00
parent f4376b5c74
commit 4e51437de2
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
3 changed files with 8 additions and 7 deletions

View file

@ -20,7 +20,7 @@ Example:
If the server reports that the requested page has moved to a different
location (indicated with a Location: header and a 3XX response code), this
option makes curl redo the request on the new place. If used together with
--include or --head, headers from all requested pages are shown.
--show-headers or --head, headers from all requested pages are shown.
When authentication is used, curl only sends its credentials to the initial
host. If a redirect takes curl to a different host, it does not get the