X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=doc%2Fzpm-fetchurl.8;h=8f9385990083b276214df5642fe636be0c6ea68b;hb=1866e46f857c0790bfa2996f75df0f5e08cdb090;hp=c6f748c1f546ee44c5d6ca4be02a47b01288a8da;hpb=28c32424d04f982985b685ce891ed7db6237504e;p=zpackage diff --git a/doc/zpm-fetchurl.8 b/doc/zpm-fetchurl.8 index c6f748c..8f93859 100644 --- a/doc/zpm-fetchurl.8 +++ b/doc/zpm-fetchurl.8 @@ -1,10 +1,10 @@ -.TH zpm-fetchurl 8 2018-12-09 "ZPM 0.4" +.TH zpm-fetchurl 8 2019-02-16 "ZPM 0.4" .SH NAME zpm-fetchurl \- download files .SH SYNOPSIS .B zpm fetchurl [ -.B -ISkKr +.B -ISkKrOn ] [ .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 +.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 @@ -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 +/etc/zpm/roots.pem .SH ENVIRONMENT ZPM_KNOWNHOSTS ZPM_ROOTFILE