mirror of
https://github.com/raphnet/gc_n64_usb-v3
synced 2025-01-30 14:50:10 -05:00
Complain if unknown argument is passed
This commit is contained in:
parent
ab137f2edb
commit
1b65446739
@ -47,10 +47,12 @@ int main(int argc, char **argv)
|
||||
case 'h':
|
||||
print_usage();
|
||||
return 0;
|
||||
|
||||
case 'f':
|
||||
format = optarg;
|
||||
break;
|
||||
case '?':
|
||||
fprintf(stderr, "Unknown argument. Try -h\n");
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user