Skip to content

Commit

Permalink
- -norun now implies -stdout on Windows as it's useless without it
Browse files Browse the repository at this point in the history
  • Loading branch information
madame-rachelle committed Apr 22, 2024
1 parent f6c02d4 commit 77e8736
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/platform/win32/i_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ int DoMain (HINSTANCE hInstance)
Args->AppendArg(FString(wargv[i]));
}

if (Args->CheckParm("-stdout"))
if (Args->CheckParm("-stdout") || Args->CheckParm("-norun"))
{
// As a GUI application, we don't normally get a console when we start.
// If we were run from the shell and are on XP+, we can attach to its
Expand Down

0 comments on commit 77e8736

Please sign in to comment.