mirror of
https://github.com/gbdev/rgbds.git
synced 2026-10-04 19:25:43 +00:00
rgbasm: Print usage if no filename is given after flags.
This commit is contained in:
1 parent
3b0e207036
commit
a305649557
1 file changed
+3
@@ -333,6 +333,9 @@ main(int argc, char *argv[])
|
||||
|
||||
DefaultOptions = CurrentOptions;
|
||||
|
||||
if (argc == 0)
|
||||
PrintUsage();
|
||||
|
||||
tzMainfile = argv[argc - 1];
|
||||
|
||||
setuplex();
|
||||
|
||||
Reference in new issue
Block a user