mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
rgbasm: Print usage if no filename is given after flags.
This commit is contained in:
@@ -333,6 +333,9 @@ main(int argc, char *argv[])
|
|||||||
|
|
||||||
DefaultOptions = CurrentOptions;
|
DefaultOptions = CurrentOptions;
|
||||||
|
|
||||||
|
if (argc == 0)
|
||||||
|
PrintUsage();
|
||||||
|
|
||||||
tzMainfile = argv[argc - 1];
|
tzMainfile = argv[argc - 1];
|
||||||
|
|
||||||
setuplex();
|
setuplex();
|
||||||
|
|||||||
Reference in New Issue
Block a user