Skip to content

Commit

Permalink
Merge pull request #144 from marcgurevitx/fix-args-loop
Browse files Browse the repository at this point in the history
Fix multiple files execution with -i
  • Loading branch information
JoeStrout authored Jul 28, 2024
2 parents d35b376 + b9228a2 commit 2011cea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions MiniScript-cpp/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,7 @@ int main(int argc, const char * argv[]) {
AddScriptPathVar(arg.c_str());
int rc = DoScriptFile(interp, arg);
if (!launchReplAfterScript) return rc;
break;
} else {
PrintHeaderInfo();
return ReturnErr(String("Unknown option: ") + arg);
Expand Down

0 comments on commit 2011cea

Please sign in to comment.