]> pd.if.org Git - zpackage/blobdiff - doc/zpm-fetchurl.8
add options for fetchurl
[zpackage] / doc / zpm-fetchurl.8
index 4a269b394f7aeaf042695d8c14629c4cc95e0092..8f9385990083b276214df5642fe636be0c6ea68b 100644 (file)
@@ -1,10 +1,10 @@
-.TH zpm-fetchurl 8 2019-02-15 "ZPM 0.4"
+.TH zpm-fetchurl 8 2019-02-16 "ZPM 0.4"
 .SH NAME
 zpm-fetchurl \- download files
 .SH SYNOPSIS
 .B zpm fetchurl
 [
 .SH NAME
 zpm-fetchurl \- download files
 .SH SYNOPSIS
 .B zpm fetchurl
 [
-.B -ISkKr
+.B -ISkKrOn
 ]
 [
 .BI -o file
 ]
 [
 .BI -o file
@@ -51,6 +51,12 @@ Only download if remote is newer than the file given by path
 Write the output to the file given by \fIpath\fR.  Output is
 written to stdout by default.
 .TP
 Write the output to the file given by \fIpath\fR.  Output is
 written to stdout by default.
 .TP
+.B \-O
+Calculate the output file name from the url.
+.TP
+.B \-n
+Only if newer.  Like \-z, except use the output file name, if any.
+.TP
 .B \-f
 Fail silently on errors.
 .TP
 .B \-f
 Fail silently on errors.
 .TP