Fixed duplicate unrecognised command line option error

This commit is contained in:
frekky 2016-01-11 21:02:56 +08:00
parent 2850b6043d
commit 4b4f73d11e

View File

@ -366,6 +366,9 @@ main(int argc, char **argv)
} }
} }
} }
} else if (choice == '?') {
usage();
/* Not reached */
} else { } else {
/* skip all other options until we find preset */ /* skip all other options until we find preset */
continue; continue;