]> pd.if.org Git - zpackage/blobdiff - doc/zpm-contents.8
add tracing to zpm-search
[zpackage] / doc / zpm-contents.8
index 4ac9c15e57314f88aa857833fc24e0aadc711e88..92319da3f8da4db92f8d52ca43b5da20d67fbfc7 100644 (file)
@@ -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