From 21271ef958ad8cbc47fe67f09c9b56d1323acfb1 Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot <noreply+git-craftbukkit@papermc.io> Date: Tue, 4 Jan 2011 01:19:26 +0000 Subject: [PATCH] Added -w for world directory By: Dinnerbone <dinnerbone@dinnerbone.com> --- paper-server/src/main/java/org/bukkit/craftbukkit/Main.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/Main.java b/paper-server/src/main/java/org/bukkit/craftbukkit/Main.java index 0f89768e47..db33837468 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/Main.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/Main.java @@ -35,6 +35,11 @@ public class Main { .ofType(String.class) .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") .withRequiredArg() .ofType(Integer.class)