Skip to content

Commit

Permalink
Merge pull request #5245 from Imitater967/fix-broken-parameter
Browse files Browse the repository at this point in the history
fix(facades): fix command line args not working
  • Loading branch information
Cervator authored May 10, 2024
2 parents 81b53f4 + 66d62f5 commit 6077f50
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,13 +101,13 @@ public final class Terasology implements Callable<Integer> {
)
private Integer outOfMemoryScore;

@Option(names = "--crash-report", defaultValue = "true", negatable = true, description = "Enable crash reporting")
@Option(names = "--crash-report", defaultValue = "true", fallbackValue = "true", negatable = true, description = "Enable crash reporting")
private boolean crashReportEnabled;

@Option(names = "--sound", defaultValue = "true", negatable = true, description = "Enable sound")
@Option(names = "--sound", defaultValue = "true", fallbackValue = "true", negatable = true, description = "Enable sound")
private boolean soundEnabled;

@Option(names = "--splash", defaultValue = "true", negatable = true, description = "Enable splash screen")
@Option(names = "--splash", defaultValue = "true", fallbackValue = "true", negatable = true, description = "Enable splash screen")
private boolean splashEnabled;

@Option(names = "--load-last-game", description = "Load the latest game on startup")
Expand All @@ -119,7 +119,7 @@ public final class Terasology implements Callable<Integer> {
@Option(names = "--permissive-security")
private boolean permissiveSecurity;

@Option(names = "--save-games", defaultValue = "true", negatable = true, description = "Enable new save games")
@Option(names = "--save-games", defaultValue = "true", fallbackValue = "true", negatable = true, description = "Enable new save games")
private boolean saveGamesEnabled;

@Option(names = "--server-port", description = "Change the server port")
Expand Down

0 comments on commit 6077f50

Please sign in to comment.