]> pd.if.org Git - zpackage/blobdiff - doc/zpm-contents.8
remove stray debug fprintf
[zpackage] / doc / zpm-contents.8
index 4cdb964771f2e8f221338dcca8c5211d027a8193..55eecf0aac026dcf5db446dc71bd1525a78366c2 100644 (file)
@@ -1,4 +1,4 @@
-.TH zpm-contents 8 2018-11-30 "ZPM 0.2"
+.TH zpm-contents 8 2019-03-05 "ZPM 0.7.0"
 .SH NAME
 zpm-contents \- list files in a zpm package
 .SH SYNOPSIS
@@ -7,20 +7,44 @@ zpm-contents \- list files in a zpm package
 .BI -f " pkgfile"
 ]
 [
-.I package ...
-]
-[
-.B --
-.I fileglob ...
+.B -lnqIsL
 ]
+.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
+\-s
+only list files that are shared libraries
+.TP
+\-L
+print the soname of a file, if any
+.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