mirror of
https://github.com/yuzu-emu/FasTC.git
synced 2025-01-24 13:21:08 +00:00
Make sure to properly exit if there are no command line arguments.
This commit is contained in:
parent
31f6233da2
commit
8799bf4ea8
|
@ -11,6 +11,10 @@ void PrintUsage() {
|
||||||
int main(int argc, char **argv) {
|
int main(int argc, char **argv) {
|
||||||
|
|
||||||
int fileArg = 1;
|
int fileArg = 1;
|
||||||
|
if(fileArg == argc) {
|
||||||
|
PrintUsage();
|
||||||
|
exit(1);
|
||||||
|
}
|
||||||
|
|
||||||
int quality = 50;
|
int quality = 50;
|
||||||
int numThreads = 1;
|
int numThreads = 1;
|
||||||
|
|
Loading…
Reference in a new issue