From fb26b2bd98eb4fb29dc644fdcc74da1ec60c3708 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 30 Oct 2003 09:08:16 +0000 Subject: curl --head now reports info "headers" on file:// URLs as well --- docs/curl.1 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/curl.1 b/docs/curl.1 index 2a0cbac76..e4e8efaf1 100644 --- a/docs/curl.1 +++ b/docs/curl.1 @@ -367,10 +367,11 @@ name, IP address or host name. An example could look like: If this option is used several times, the last one will be used. .IP "-I/--head" -(HTTP/FTP) +(HTTP/FTP/FILE) Fetch the HTTP-header only! HTTP-servers feature the command HEAD which this uses to get nothing but the header of a document. When used -on a FTP file, curl displays the file size only. +on a FTP or FILE file, curl displays the file size and last modification +time only. If this option is used twice, the second will again disable header only. .IP "-j/--junk-session-cookies" -- cgit v1.2.3