From 051c91f9de5eae5bc6be3fd95f7fa75561e777b5 Mon Sep 17 00:00:00 2001 From: Yannik Bretschneider Date: Sat, 5 Jun 2021 00:53:35 +0200 Subject: [PATCH] fix: made argument parsing standard compliant --- .../java/uulm/teamname/marvelous/server/args/ServerArgs.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Server/src/main/java/uulm/teamname/marvelous/server/args/ServerArgs.java b/Server/src/main/java/uulm/teamname/marvelous/server/args/ServerArgs.java index cce7d23..53d33fe 100644 --- a/Server/src/main/java/uulm/teamname/marvelous/server/args/ServerArgs.java +++ b/Server/src/main/java/uulm/teamname/marvelous/server/args/ServerArgs.java @@ -42,7 +42,7 @@ public class ServerArgs { private File scenarioConfigFile; /** Whether the server only checks the configuration files, and then stops execution */ - @Parameter(names = {"--check-conf", "--check-config"}) + @Parameter(names = {"-C", "--check-conf", "--check-config"}) private boolean checkConfig = false; /** The path to the folder in which replays are saved */