mirror of
https://github.com/curl/curl.git
synced 2024-12-09 06:30:06 +08:00
68784d73c3
The file format for each option now features a "Example:" header that can provide one or more examples that get rendered appropriately in the output. All options MUST have at least one example or gen.pl complains at build-time. This fix also does a few other minor format and consistency cleanups. Closes #7654
17 lines
497 B
D
17 lines
497 B
D
Long: dump-header
|
|
Short: D
|
|
Arg: <filename>
|
|
Help: Write the received headers to <filename>
|
|
Protocols: HTTP FTP
|
|
See-also: output
|
|
Category: http ftp
|
|
Example: --dump-header store.txt $URL
|
|
---
|
|
Write the received protocol headers to the specified file. If no headers are
|
|
received, the use of this option will create an empty file.
|
|
|
|
When used in FTP, the FTP server response lines are considered being "headers"
|
|
and thus are saved there.
|
|
|
|
If this option is used several times, the last one will be used.
|