]> pd.if.org Git - zpackage/blobdiff - doc/zpm-addfile.8
expand docs
[zpackage] / doc / zpm-addfile.8
diff --git a/doc/zpm-addfile.8 b/doc/zpm-addfile.8
new file mode 100644 (file)
index 0000000..f7a00c1
--- /dev/null
@@ -0,0 +1,27 @@
+.TH zpm-addfile 8 2019-02-15 "ZPM 0.3"
+.SH NAME
+zpm-addfile \- add file contents to a zpm database
+.SH SYNOPSIS
+.B zpm addfile
+.I pkgfile path ...
+.SH DESCRIPTION
+\fBzpm-addfile\fR
+adds file contents to a zpm database.  After successfully adding
+file content, the hash of the content is printed to stdout, followed
+by a newline.
+.SH OPTIONS
+None.
+.SH EXAMPLES
+.TP
+.B zpm addfile $ZPMDB /etc/passwd
+Add the /etc/passwd content to the local database.
+.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)