moved slideshow flags into misc (1000 -> 903)
This commit is contained in:
parent
bbd2196326
commit
74e6dfe497
10
i3lock.c
10
i3lock.c
|
@ -1220,7 +1220,7 @@ int main(int argc, char *argv[]) {
|
||||||
{"composite", no_argument, NULL, 902},
|
{"composite", no_argument, NULL, 902},
|
||||||
|
|
||||||
/* slideshow options */
|
/* slideshow options */
|
||||||
{"slideshow-interval", required_argument, NULL, 1000},
|
{"slideshow-interval", required_argument, NULL, 903},
|
||||||
|
|
||||||
{NULL, no_argument, NULL, 0}};
|
{NULL, no_argument, NULL, 0}};
|
||||||
|
|
||||||
|
@ -1672,16 +1672,16 @@ int main(int argc, char *argv[]) {
|
||||||
case 902:
|
case 902:
|
||||||
composite = true;
|
composite = true;
|
||||||
break;
|
break;
|
||||||
case 999:
|
case 903:
|
||||||
debug_mode = true;
|
|
||||||
break;
|
|
||||||
case 1000:
|
|
||||||
slideshow_interval = atoi(optarg);
|
slideshow_interval = atoi(optarg);
|
||||||
|
|
||||||
if (slideshow_interval < 0) {
|
if (slideshow_interval < 0) {
|
||||||
slideshow_interval = 10;
|
slideshow_interval = 10;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case 999:
|
||||||
|
debug_mode = true;
|
||||||
|
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] [-f]\n"
|
" [-i image.png] [-t] [-e] [-f]\n"
|
||||||
|
|
Loading…
Reference in New Issue