char *tty;
int opt;
- while ((opt = getopt(argc, argv, "l:dwocs:b:")) != -1) {
+ while ((opt = getopt(argc, argv, "l:dwocs:b:?")) != -1) {
switch (opt) {
case 'l':
fprintf(stderr, "Ignored option '-l'\n");
print_usage(argv[0]);
break;
+ case '?':
default:
print_usage(argv[0]);
break;