aboutsummaryrefslogtreecommitdiff
path: root/doc/plock.1
blob: a8a29b3e512a2bc7903b820f6654aa9118f98f19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
.TH PLOCK 1
.SH NAME
plock - a command for generating android patterns
.SH SYNOPSIS
.B plock
.RB [ \-p
.IR print_type ]
.SH DESCRIPTION
plock is a command line tool for generating android lock-patterns.

.SH OPTIONS

.TP
.BR \-n ", " \-\-number=\fInum\fR
.PD
It tells the program to generate \fInum\fR amount of patterns. If \fInum\fR is negative, there will be maximum amount of patterns generated.

.TP
.BR \-p ", " \-\-print=\fItype\fR
.PD
Sets the type of print wich the program should use. \fItype\fR can be: text or svg.

.TP
.BR \-o ", " \-\-output=\fIpath\fR
.PD
Sets the path of the output file.

.TP
.BR \-os ", " \-\-outputs=\fIpath\fR
.PD
Sets the pattern of path of the output files. A possible pattern could be pattern_%d.svg where %d will be the number of the pattern. %d can only be at the name of the file, since plock is not capable of creating directories.

.TP
.BR \-fn ", " \-\-from-num=\fInumber\fR
.PD
Starts from number \fInumber\fR. If it's zero, it has no effect.

.TP
.BR \-tn ", " \-\-to-num=\fInumber\fR
.PD
Stops at number \fInumber\fR. If it's zero, it has no effect.

.TP
.BR \-w ", " \-\-wait
.PD
Makes the program wait until a char is given on stdin after each pattern generation.

.SH EXIT STATUS
Plock may return one of several error codes if it encounters problems.

.ie n .IP "0" 4
.el .IP "\f(CW0\fR" 4
.IX Item "0"
No problems occurred.

.ie n .IP "1" 4
.el .IP "\f(CW0\fR" 4
.IX Item "1"
Args error.

.ie n .IP "2" 4
.el .IP "\f(CW0\fR" 4
.IX Item "2"
IO error.

.SH AUTHOR
Sopár Adrián   <\fIdev.adrian.sopar@protonmail.com\fR>   <\fIhttps://adriansopar.hu\fR>