X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=doc%2Fzpm-contents.8;h=92319da3f8da4db92f8d52ca43b5da20d67fbfc7;hb=ab31dd7aa855abd018af75b1256b6dac89c1c51c;hp=4ac9c15e57314f88aa857833fc24e0aadc711e88;hpb=c2e217770524b43145b65774e058d423cc167336;p=zpackage diff --git a/doc/zpm-contents.8 b/doc/zpm-contents.8 index 4ac9c15..92319da 100644 --- a/doc/zpm-contents.8 +++ b/doc/zpm-contents.8 @@ -1,4 +1,4 @@ -.TH zpm-contents 8 2018-11-30 "ZPM 0.2" +.TH zpm-contents 8 2018-12-08 "ZPM 0.3" .SH NAME zpm-contents \- list files in a zpm package .SH SYNOPSIS @@ -7,27 +7,38 @@ zpm-contents \- list files in a zpm package .BI -f " pkgfile" ] [ -.B -ln +.B -lnqI ] .RI [ package ...] -.RB [ -- +.RB [ : .IR glob ...\fR] .SH DESCRIPTION \fBzpm-contents\fR lists files belonging to any of the given packages, or all packages. Additionally, the list of packages can be -terminated with '--' and any additional arguments are glob patterns. +terminated with ':' and any additional arguments are glob patterns. .SH OPTIONS .TP \-f specify the package file to find packages in .TP \-n +list package names only +.TP +\-q list file paths only .TP +\-I +restrict to installed packages +.TP \-l long listing, with file mode and ownership, overrides \-n .SH EXAMPLES -zpm contents +.TP +zpm contents +lists all files in the local database +.TP +zpm contents -In : /bin/ls +list which package owns /bin/ls .SH EXIT STATUS 0 on success non zero on failure .SH FILES