-.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
.BI -f " pkgfile"
]
[
-.I package ...
-]
-[
-.B --
-.I fileglob ...
+.B -lnqI
]
+.RI [ package ...]
+.RB [ :
+.IR glob ...\fR]
.SH DESCRIPTION
-zpm-contents lists files belonging to any of the given packages,
+\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
-\-f specify the package file to find packages in
+.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