X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=doc%2Fzpm-addfile.8;fp=doc%2Fzpm-addfile.8;h=f7a00c11d228e5c5fe4e770e221b16b85a979c4e;hb=a1764382c3f47adf50e9ec9cc84ad1658f3d38e4;hp=0000000000000000000000000000000000000000;hpb=86d735d52280359df4896d5c542ddfbe33d8df7b;p=zpackage diff --git a/doc/zpm-addfile.8 b/doc/zpm-addfile.8 new file mode 100644 index 0000000..f7a00c1 --- /dev/null +++ b/doc/zpm-addfile.8 @@ -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)