mirror of
https://github.com/N64Recomp/N64Recomp.git
synced 2025-10-30 08:02:11 +00:00
Merge 34db152266 into c39a9b6c7e
This commit is contained in:
commit
000f434907
1 changed files with 5 additions and 2 deletions
|
|
@ -280,10 +280,13 @@ int main(int argc, char** argv) {
|
||||||
dumping_context = true;
|
dumping_context = true;
|
||||||
} else {
|
} else {
|
||||||
fmt::print("Usage: {} <config file> [--dump-context]\n", argv[0]);
|
fmt::print("Usage: {} <config file> [--dump-context]\n", argv[0]);
|
||||||
std::exit(EXIT_SUCCESS);
|
std::exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
} else {
|
} else if (argc >= 2) {
|
||||||
dumping_context = false;
|
dumping_context = false;
|
||||||
|
} else {
|
||||||
|
fmt::print("Usage: {} <config file> [--dump-context]\n", argv[0]);
|
||||||
|
std::exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
|
|
||||||
const char* config_path = argv[1];
|
const char* config_path = argv[1];
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue