Merge pull request #10 from phijor/master
Fix segfault when launching with unkown option
This commit is contained in:
commit
a2a3c84f3b
@ -22,7 +22,8 @@ int main(int argc, char *argv[]) {
|
||||
static const struct option options[] = {
|
||||
{"help", no_argument, NULL, 'h'},
|
||||
{"version", no_argument, NULL, 'v'},
|
||||
{"passes", required_argument, NULL, 'p'}
|
||||
{"passes", required_argument, NULL, 'p'},
|
||||
{0, 0, 0, 0}
|
||||
};
|
||||
|
||||
program_name = argv[0];
|
||||
|
Loading…
Reference in New Issue
Block a user