Merge pull request #24 from ixjlyons/timeout-doc

Indicate that the --inactivity-timeout option takes an argument.
pull/26/head
Michael Stapelberg 2015-07-02 23:30:44 -07:00
commit c5bb1d55e0
2 changed files with 4 additions and 3 deletions

View File

@ -28,7 +28,8 @@ i3lock \- improved screen locker
.IR pointer\|] .IR pointer\|]
.RB [\|\-u\|] .RB [\|\-u\|]
.RB [\|\-e\|] .RB [\|\-e\|]
.RB [\|\-I\|] .RB [\|\-I
.IR timeout\|]
.RB [\|\-f\|] .RB [\|\-f\|]
.SH DESCRIPTION .SH DESCRIPTION
@ -71,7 +72,7 @@ option, DPMS will turn off your screen after 15 minutes of inactivity anyways (i
you did not disable this in your X server). you did not disable this in your X server).
.TP .TP
.B \-I, \-\-inactivity-timeout .BI \-I\ seconds \fR,\ \fB\-\-inactivity-timeout= seconds
Specifies the number of seconds i3lock will wait for another password before Specifies the number of seconds i3lock will wait for another password before
turning off the monitors, in case you entered a wrong password or canceled by turning off the monitors, in case you entered a wrong password or canceled by
pressing Escape. Only makes sense together with \-d. If omitted, the default is pressing Escape. Only makes sense together with \-d. If omitted, the default is

View File

@ -858,7 +858,7 @@ int main(int argc, char *argv[]) {
break; break;
default: default:
errx(EXIT_FAILURE, "Syntax: i3lock [-v] [-n] [-b] [-d] [-c color] [-u] [-p win|default]" errx(EXIT_FAILURE, "Syntax: i3lock [-v] [-n] [-b] [-d] [-c color] [-u] [-p win|default]"
" [-i image.png] [-t] [-e] [-I] [-f]"); " [-i image.png] [-t] [-e] [-I timeout] [-f]");
} }
} }