]> pd.if.org Git - zpackage/blob - doc/zpm-packagehash.8
remove stray debug fprintf
[zpackage] / doc / zpm-packagehash.8
1 .TH zpm-packagehash 8 2019-02-15 "ZPM 0.3"
2 .SH NAME
3 zpm-packagehash \- run packagehash
4 .SH SYNOPSIS
5 .B zpm packagehash
6 [
7 .BI -f " pkgfile"
8 ]
9 [
10 .B -sScqev
11 ]
12 .RI [ package ] 
13 .SH DESCRIPTION
14 \fBzpm-packagehash\fR
15 calculates, prints, or sets the hash of a package.  The package may
16 be specified as a partial package id, which will be looked up as
17 if by zpm-findpkg.
18 .SH OPTIONS
19 .TP
20 \-f
21 specify the package file to find packages in
22 .TP
23 \-s
24 set the hash after calculating it
25 .TP
26 \-S
27 clear the package hash
28 .TP
29 \-c
30 check the package hash against one given as an additional argument
31 .TP
32 \-q
33 Don't output anything to stdout.
34 .TP
35 \-v
36 When printing hashes, prepend the package id and a space character.
37 .TP
38 \-e
39 Show the current package hash, rather than the calculated one.
40 .SH EXAMPLES
41 .TP
42 zpm packagehash -s -f foo-1.0-1.zpm foo-1.0-1
43 Calculate and set the package hash for the foo-1.0-1 package.
44 .SH EXIT STATUS
45 0 on success non zero on failure
46 .SH FILES
47 /var/lib/zpm/local.db
48 .SH ENVIRONMENT
49 ZPMDB
50 .SH AUTHOR
51 Nathan Wagner
52 .SH SEE ALSO
53 .BR zpm (8)
54 .BR zpm-findpkg (8)