]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
docs/cmdline: refer to --show-headers instead of --include
authorDaniel Stenberg <daniel@haxx.se>
Mon, 12 Aug 2024 07:58:34 +0000 (09:58 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 12 Aug 2024 10:54:03 +0000 (12:54 +0200)
As it is the new version of the option that is easier to understand what
it does by name.

Follow-up to 82c53f821fa3fd40
Closes #14497

docs/cmdline-opts/location.md
docs/cmdline-opts/suppress-connect-headers.md
docs/cmdline-opts/verbose.md

index 62e3d470ae110b5a69d1e4a0722f82a597a1e1c4..5a9e6ed92e4b50d99337c830e9007b8d619ee11d 100644 (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
index cf9dbdf5e4f3ed8d2ecf87f079dd33b5f1c92549..e9e32c0abe703c48106da780ce65843a04431f8b 100644 (file)
@@ -11,12 +11,13 @@ See-also:
   - show-headers
   - proxytunnel
 Example:
-  - --suppress-connect-headers --include -x proxy $URL
+  - --suppress-connect-headers --show-headers -x proxy $URL
 ---
 
 # `--suppress-connect-headers`
 
 When --proxytunnel is used and a CONNECT request is made do not output proxy
-CONNECT response headers. This option is meant to be used with --dump-header or
---include which are used to show protocol headers in the output. It has no
-effect on debug options such as --verbose or --trace, or any statistics.
+CONNECT response headers. This option is meant to be used with --dump-header
+or --show-headers which are used to show protocol headers in the output. It
+has no effect on debug options such as --verbose or --trace, or any
+statistics.
index 732b961c4b8ccff4653d98d277132478813f81de..d29e23a7bb02a3fe6c03254bb887c7986f5b33e1 100644 (file)
@@ -25,8 +25,8 @@ what's going on under the hood. A line starting with \> means header data sent
 by curl, \< means header data received by curl that is hidden in normal cases,
 and a line starting with * means additional info provided by curl.
 
-If you only want HTTP headers in the output, --include or --dump-header might
-be more suitable options.
+If you only want HTTP headers in the output, --show-headers or --dump-header
+might be more suitable options.
 
 Since curl 8.10, mentioning this option several times in the same argument
 increases the level of the trace output. However, as before, a single