+.TH zpm-list 8 2018-12-07 "ZPM 0.2"
+.SH NAME
+zpm-list \- list packages
+.SH SYNOPSIS
+.B zpm list
+[\fB\-f\fR \fIpkgfile\fR]
+[\fB\-s\fR \fIstatus\fR]
+[
+.B \-vIna
+]
+[
+.IR package ...
+]
+.SH DESCRIPTION
+zpm-list lists packages in a package file.
+The package file is taken from either the ZPMDB environment variable
+the \-f option, or the system default of /var/lib/zpm/local.db.
+.SH OPTIONS
+.TP
+.BI \-f " pkgfile"
+specify the package file to find packages in
+.TP
+.B \-I
+list only installed packages
+.TP
+.B \-s \fIstatus\fR
+add the given status to the list of statuses to list
+.TP
+.B \-v
+print the package status after the package name
+.TP
+.B \-n
+list only the package name, not the full package id
+.SH EXAMPLES
+zpm list
+.SH EXIT STATUS
+0 on success non zero on failure
+.SH FILES
+/var/lib/zpm/local.db
+.SH ENVIRONMENT
+ZPMDB
+.SH AUTHOR
+Nathan Wagner
+.SH SEE ALSO
+.BR zpm (8)