X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=doc%2Fzpm-fetchurl.8;h=d3948df3290e0e3a526d01eb1a961e53d0e488df;hb=a639d5e86bfa941153e214dc0c44d780072769ea;hp=4a269b394f7aeaf042695d8c14629c4cc95e0092;hpb=bd21f0a1265b43ad5f05353a39db31c16826f05c;p=zpackage diff --git a/doc/zpm-fetchurl.8 b/doc/zpm-fetchurl.8 index 4a269b3..d3948df 100644 --- a/doc/zpm-fetchurl.8 +++ b/doc/zpm-fetchurl.8 @@ -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 [ -.B -ISkKr +.B -ISkKrOnp ] [ .BI -o file @@ -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 +.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 \-# -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