Skip to content

Commit

Permalink
Fix multiple files execution with -i
Browse files Browse the repository at this point in the history
  • Loading branch information
marcgurevitx committed Mar 15, 2024
1 parent 908920d commit b9228a2
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 b9228a2

Please sign in to comment.