X-Git-Url: https://pd.if.org/git/?p=zpackage;a=blobdiff_plain;f=doc%2Fzpm-fetchurl.8;h=7a005c486c576d50bc04574a36bc7ab335b9ff2f;hp=6df17c8f2a506ccd4cd75dcbb6f13d10834f378e;hb=cae5c951410e659f8c78562903056889f8e989a7;hpb=1f811b8eda96d6ed0197d1cd7780b345e6aa85b7 diff --git a/doc/zpm-fetchurl.8 b/doc/zpm-fetchurl.8 index 6df17c8..7a005c4 100644 --- a/doc/zpm-fetchurl.8 +++ b/doc/zpm-fetchurl.8 @@ -1,12 +1,20 @@ -.TH zpm-fetchurl 8 2019-02-27 "ZPM 0.4" +.TH zpm-fetchurl 8 2019-03-04 "ZPM 0.7.0" .SH NAME zpm-fetchurl \- download files .SH SYNOPSIS .B zpm fetchurl [ -.B -ISkKrOnp +.B -OIrRfnp ] [ +.BI -L " redirlimit" +] +[ +.BI -z " lastmodfile" +] +[ +.BI \-U " useragent"" +[ .BI -o file ] .I [ url ] @@ -29,6 +37,10 @@ output the response header only, implies -r .B \-r output the entire response, including the header .TP +.BI -L " limit" +Limit the maximum number of redirects to \fIlimit\fR. The default is +50. +.TP .B \-S output the response status code only .TP @@ -41,8 +53,8 @@ TLS, but zpm-fetchurl uses a trust on first use policy instead. Root certificates are found by default in /etc/zpm/roots.pem, but the ZPM_ROOTFILE environment variable can be used to override this. .TP -.BI \-R " limit" -set the limit on following redirects, defaults to 50 +.B \-R +Output the request header. .TP .BI \-z " path" Only download if remote is newer than the file given by path