Skip to content

Commit

Permalink
Don't spam in retrace mode
Browse files Browse the repository at this point in the history
  • Loading branch information
captainurist committed Feb 9, 2025
1 parent 6c37df7 commit 0068bf6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Bin/OpenEnroth/OpenEnrothOptions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@ OpenEnrothOptions OpenEnrothOptions::parse(int argc, char **argv) {

if (result.retrace.traces.empty())
throw Exception("No trace files to retrace.");

if (!result.logLevel)
result.logLevel = LOG_ERROR; // Default log level for retracing is LOG_ERROR.
}

if (result.subcommand == SUBCOMMAND_PLAY)
Expand Down

0 comments on commit 0068bf6

Please sign in to comment.