X-Git-Url: https://pd.if.org/git/?p=zpackage;a=blobdiff_plain;f=doc%2Fzpm-fetchurl.8;h=b152f611fe410372d4cfcf254086153d2b5f856b;hp=d3948df3290e0e3a526d01eb1a961e53d0e488df;hb=9fc07cd11a009d0a76bc0901c2106ce8be870a81;hpb=a639d5e86bfa941153e214dc0c44d780072769ea diff --git a/doc/zpm-fetchurl.8 b/doc/zpm-fetchurl.8 index d3948df..b152f61 100644 --- a/doc/zpm-fetchurl.8 +++ b/doc/zpm-fetchurl.8 @@ -1,12 +1,20 @@ -.TH zpm-fetchurl 8 2019-02-16 "ZPM 0.4" +.TH zpm-fetchurl 8 2019-03-05 "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 ] @@ -27,7 +35,11 @@ dependency. output the response header only, implies -r .TP .B \-r -output the entire response header, including the header +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 @@ -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