]> granicus.if.org Git - curl/commitdiff
Add Metalink information and --metalink option to man page
authorant <ant@localhost.localdomain>
Sat, 5 May 2012 01:58:05 +0000 (21:58 -0400)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 26 May 2012 21:10:15 +0000 (23:10 +0200)
docs/curl.1

index 64612d293819f03cc800f1081f3c10b54c7b9d4b..65da9341245606d729df996bfbfd8fa5ef2b4a70 100644 (file)
@@ -35,8 +35,8 @@ command is designed to work without user interaction.
 
 curl offers a busload of useful tricks like proxy support, user
 authentication, FTP upload, HTTP post, SSL connections, cookies, file transfer
-resume and more. As you will see below, the number of features will make your
-head spin!
+resume, Metalink, and more. As you will see below, the number of features will
+make your head spin!
 
 curl is powered by libcurl for all transfer-related features. See
 .BR libcurl (3)
@@ -832,6 +832,15 @@ is used, this option can be used to prevent curl from following redirections
 option to -1 to make it limitless.
 
 If this option is used several times, the last one will be used.
+.IP "--metalink"
+Makes curl parse and process a local Metalink file (RFC 5854) and make use
+of the mirrors listed within for failover if there are errors (such as the
+file or server not being available).
+
+If Metalink support is enabled, curl will also use remote Metalinks if they
+are offered with the correct MIME type (application/metalink+xml).
+
+(Added in 7.??.?)
 .IP "-n, --netrc"
 Makes curl scan the \fI.netrc\fP (\fI_netrc\fP on Windows) file in the user's
 home directory for login name and password. This is typically used for FTP on
@@ -1693,6 +1702,8 @@ SSPI is supported. If you use NTLM and set a blank user name, curl will
 authenticate with your current user and password.
 .IP "TLS-SRP"
 SRP (Secure Remote Password) authentication is supported for TLS.
+.IP "Metalink"
+This curl supports Metalink (RFC 5854), which describes mirrors and hashes.
 .RE
 .SH FILES
 .I ~/.curlrc