]> pd.if.org Git - zpackage/blob - doc/zpm-test.8
remove stray debug fprintf
[zpackage] / doc / zpm-test.8
1 .TH zpm-test 8 2019-02-14 "ZPM 0.3"
2 .SH NAME
3 zpm-test \- check whether files are zpm databases
4 .SH SYNOPSIS
5 .B zpm test
6 [
7 .B -v
8 ]
9 .RI [ path ...]
10 .SH DESCRIPTION
11 \fBzpm-test\fR
12 checks its arguments and returns success if all arguments are zpm databases.
13 No check on the schema is performed, a file is considered valid if it is an
14 sqlite3 database file with an application id of 0x5A504442 (decimal
15 1515209794).
16 .SH OPTIONS
17 .TP
18 \-v
19 prints an error message to stderr if a package is not a zpm
20 database file.
21 .SH EXAMPLES
22 .TP
23 zpm test foo-1.0-1.zpm
24 checks foo-1.0-1.zpm for validity.
25 .SH EXIT STATUS
26 0 on success non zero on failure
27 .SH FILES
28 None.
29 .SH ENVIRONMENT
30 None.
31 .SH AUTHOR
32 Nathan Wagner
33 .SH SEE ALSO
34 .BR zpm (8)