retro w/o args will now run in interactive mode

FossilOrigin-Name: b9bc17aa2c02e27805b8ee30003854b313dab5e7f5fd3d0d20a88dc86342cf99
This commit is contained in:
crc 2019-03-21 20:36:38 +00:00
parent cb5354dc03
commit dade4cee3a

View file

@ -475,9 +475,6 @@ int main(int argc, char **argv) {
int run_tests;
if (argc <= 1) return 0; /* Guard clause: exit if no */
/* arguments are passed. */
initialize(); /* Initialize Nga & image */
sys_argc = argc; /* Point the global argc and */
@ -498,6 +495,8 @@ int main(int argc, char **argv) {
run_tests = 0;
fsp = 0;
if (argc <= 1) modes[FLAG_INTERACTIVE] = 1;
for (i = 1; i < argc; i++) {
if (strcmp(argv[i], "-h") == 0) {
help(argv[0]);