SCRIPTS=zpm zpm-install zpm-merge zpm-list zpm-preserve zpm-test zpm-log \
zpm-contents zpm-uninstall zpm-pathmod zpm-rmpackage zpm-newpackage \
zpm-pkg zpm-add zpm-pkgfile zpm-gc zpm-repo zpm-update zpm-confgit
-MANPAGES=doc/zpm.8 $(addprefix doc/zpm-, list.8 contents.8 hash.8 quote.8 pathmod.8 note.8)
+MANPAGES=doc/zpm.8 $(addprefix doc/zpm-, list.8 contents.8 hash.8 quote.8 pathmod.8 note.8 vercmp.8 repo.8)
COMPILED=$(ZPKGBIN)
PROGRAMS=$(SCRIPTS) $(COMPILED)
--- /dev/null
+.TH zpm-contents 8 2018-11-30 "ZPM 0.2"
+.SH NAME
+zpm-contents \- list files in a zpm package
+.SH SYNOPSIS
+.B zpm contents
+[
+.BI -f " pkgfile"
+]
+[
+.I package ...
+]
+[
+.B --
+.I fileglob ...
+]
+.SH DESCRIPTION
+zpm-contents 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.
+.SH OPTIONS
+\-f specify the package file to find packages in
+.SH EXAMPLES
+zpm contents
+.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
+zpm(8)
--- /dev/null
+.TH zpm-vercmp 8 2018-12-10 "ZPM 0.4"
+.SH NAME
+zpm-vercmp \- compare strings with version numbering
+.SH SYNOPSIS
+.B zpm vercmp \fR[\fB-q\fR] \fIstring1 string2\fR
+.SH DESCRIPTION
+\fBzpm-vercmp\fR compares its first two arguments, using
+the usual version numbering semantics. It will write
+the result of the comparison to stdout, 0 if the arguments
+compare equal, -1 if the first is greater, and 1 if the
+second is greater.
+.SH OPTIONS
+.TP
+\-q
+write nothing to stdout. The program will still exit with the
+usual exit status
+.SH EXAMPLES
+.PP
+.nf
+zpm-vercmp a b -> "1"
+.fi
+.SH EXIT STATUS
+0 if the two strings compare equal
+-1 if the first string is greater than the second
+1 if the second string is greater then the first
+.SH FILES
+None
+.SH ENVIRONMENT
+None
+.SH AUTHOR
+Nathan Wagner
+.SH SEE ALSO
+zpm(8)