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
11 lines
338 B
Makefile
11 lines
338 B
Makefile
Long: head
|
|
Short: I
|
|
Help: Show document info only
|
|
Protocols: HTTP FTP FILE
|
|
Category: http ftp file
|
|
Example: -I $URL
|
|
---
|
|
Fetch the headers only! HTTP-servers feature the command HEAD which this uses
|
|
to get nothing but the header of a document. When used on an FTP or FILE file,
|
|
curl displays the file size and last modification time only.
|