-.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 ]
.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
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