3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-18 12:30:06 +01:00

Added -w for world directory

Dieser Commit ist enthalten in:
Dinnerbone 2011-01-04 01:19:26 +00:00
Ursprung e3b3dcfde5
Commit 8680ee387f

Datei anzeigen

@ -35,6 +35,11 @@ public class Main {
.ofType(String.class) .ofType(String.class)
.describedAs("Hostname or IP"); .describedAs("Hostname or IP");
acceptsAll(asList("w", "world", "level-name"), "World directory")
.withRequiredArg()
.ofType(String.class)
.describedAs("World dir");
acceptsAll(asList("p", "port", "server-port"), "Port to listen on") acceptsAll(asList("p", "port", "server-port"), "Port to listen on")
.withRequiredArg() .withRequiredArg()
.ofType(Integer.class) .ofType(Integer.class)