Browse Source

Fix option parsing to use correct getopt_long

master
Alphonse Mariya 7 years ago
parent
commit
f7f3e70913
No known key found for this signature in database GPG Key ID: 24D4C85E7B4585A9
  1. 12
      i3lock.c

12
i3lock.c

@ -1375,16 +1375,16 @@ int main(int argc, char *argv[]) {
strcpy(date_format,optarg);
break;
case 512:
// if layout is NULL, do nothing
// if not NULL, attempt to display stuff
// need to code some sane defaults for it
keylayout_mode = atoi(optarg);
verif_text = optarg;
break;
case 513:
verif_text = optarg;
wrong_text = optarg;
break;
case 514:
wrong_text = optarg;
// if layout is NULL, do nothing
// if not NULL, attempt to display stuff
// need to code some sane defaults for it
keylayout_mode = atoi(optarg);
break;
case 515:
noinput_text = optarg;

Loading…
Cancel
Save