commit 9df7e79cbcf52c9624ef3b4b135d94f815eed3a8
parent dbb21b5341307f682533d517c9cc61e4b6cc6cf6
Author: Martin Pittermann <martinp2250@gmail.com>
Date: Tue, 10 Mar 2020 21:28:19 +0100
make the implications of the --no-verify options more clear
Diffstat:
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/i3lock.1 b/i3lock.1
@@ -425,7 +425,7 @@ Works similarly to the time/date/indicator expressions. If the bar is horizontal
.TP
.B \-\-no\-verify
-Do not verify the entered password and unlock immediately.
+Do not verify the password entered by the user and unlock immediately. Use only for quickly testing new configurations and remove once finished.
diff --git a/i3lock.c b/i3lock.c
@@ -1386,7 +1386,6 @@ int main(int argc, char *argv[]) {
{"ignore-empty-password", no_argument, NULL, 'e'},
{"inactivity-timeout", required_argument, NULL, 'I'},
{"show-failed-attempts", no_argument, NULL, 'f'},
- {"no-verify", no_argument, NULL, 'x'},
// options for unlock indicator colors
{"insidevercolor", required_argument, NULL, 300},
@@ -1486,6 +1485,7 @@ int main(int argc, char *argv[]) {
{"redraw-thread", no_argument, NULL, 900},
{"refresh-rate", required_argument, NULL, 901},
{"composite", no_argument, NULL, 902},
+ {"no-verify", no_argument, NULL, 905},
// slideshow options
{"slideshow-interval", required_argument, NULL, 903},
@@ -1554,9 +1554,6 @@ int main(int argc, char *argv[]) {
case 'f':
show_failed_attempts = true;
break;
- case 'x':
- no_verify = true;
- break;
case 'r':
if (internal_line_source != 0) {
errx(EXIT_FAILURE, "i3lock-color: Options line-uses-ring and line-uses-inside conflict.");
@@ -2029,6 +2026,9 @@ int main(int argc, char *argv[]) {
case 904:
slideshow_random_selection = true;
break;
+ case 905:
+ no_verify = true;
+ break;
case 998:
image_raw_format = strdup(optarg);
break;