dump-header.md: mention minus for stdout

Closes #13985
This commit is contained in:
Daniel Stenberg 2024-06-23 11:33:47 +02:00
parent b84699bf4f
commit 674cbfd613
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -13,12 +13,14 @@ See-also:
- output
Example:
- --dump-header store.txt $URL
- --dump-header - $URL -o save
---
# `--dump-header`
Write the received protocol headers to the specified file. If no headers are
received, the use of this option creates an empty file.
received, the use of this option creates an empty file. Specify `-` as file
name (a single minus) to have it written to stdout.
When used in FTP, the FTP server response lines are considered being "headers"
and thus are saved there.