fix: made argument parsing standard compliant

This commit is contained in:
Yannik Bretschneider 2021-06-05 00:53:35 +02:00
parent bd234a7849
commit 051c91f9de

View File

@ -42,7 +42,7 @@ public class ServerArgs {
private File scenarioConfigFile; private File scenarioConfigFile;
/** Whether the server only checks the configuration files, and then stops execution */ /** 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; private boolean checkConfig = false;
/** The path to the folder in which replays are saved */ /** The path to the folder in which replays are saved */