]> pd.if.org Git - zpackage/blobdiff - doc/zpm-fetchurl.8
add scripts to package hashing
[zpackage] / doc / zpm-fetchurl.8
index c6f748c1f546ee44c5d6ca4be02a47b01288a8da..6df17c8f2a506ccd4cd75dcbb6f13d10834f378e 100644 (file)
@@ -1,10 +1,10 @@
-.TH zpm-fetchurl 8 2018-12-09 "ZPM 0.4"
+.TH zpm-fetchurl 8 2019-02-27 "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 -ISkKrOnp
 ]
 [
 .BI -o file
 ]
 [
 .BI -o file
@@ -27,7 +27,7 @@ dependency.
 output the response header only, implies -r
 .TP
 .B \-r
 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
 .B \-S
 output the response status code only
 .TP
 .B \-S
 output the response status code only
@@ -51,11 +51,17 @@ 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
-.B \-#
-Output a progress bar.
+.B \-p \-#
+Output a progress bar.  A '#' is accepted for compatibility with curl.
 .SH EXAMPLES
 .TP
 zpm fetchurl -o zpm-0.1.2.zpm https://zoranix.net/repo/packages/zpm-0.1.2.zpm
 .SH EXAMPLES
 .TP
 zpm fetchurl -o zpm-0.1.2.zpm https://zoranix.net/repo/packages/zpm-0.1.2.zpm
@@ -64,6 +70,7 @@ zpm fetchurl -o zpm-0.1.2.zpm https://zoranix.net/repo/packages/zpm-0.1.2.zpm
 .SH FILES
 /var/lib/zpm/known_hosts
 ~/.zpm/known_hosts
 .SH FILES
 /var/lib/zpm/known_hosts
 ~/.zpm/known_hosts
+/etc/zpm/roots.pem
 .SH ENVIRONMENT
 ZPM_KNOWNHOSTS
 ZPM_ROOTFILE
 .SH ENVIRONMENT
 ZPM_KNOWNHOSTS
 ZPM_ROOTFILE