mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-29 19:52:55 +01:00
Added -w for world directory
This commit is contained in:
parent
e3b3dcfde5
commit
8680ee387f
1 changed files with 5 additions and 0 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue