diff options
Diffstat (limited to 'doc/plock.1')
-rw-r--r-- | doc/plock.1 | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/doc/plock.1 b/doc/plock.1 new file mode 100644 index 0000000..a8a29b3 --- /dev/null +++ b/doc/plock.1 @@ -0,0 +1,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> + |