Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(facades): fix command line args not working #5245

Merged
merged 1 commit into from
May 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading