From 8680ee387fb428cef246b2d04702b9a3839630ef Mon Sep 17 00:00:00 2001 From: Dinnerbone Date: Tue, 4 Jan 2011 01:19:26 +0000 Subject: [PATCH] Added -w for world directory --- src/main/java/org/bukkit/craftbukkit/Main.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/java/org/bukkit/craftbukkit/Main.java b/src/main/java/org/bukkit/craftbukkit/Main.java index 0f89768e47..db33837468 100644 --- a/src/main/java/org/bukkit/craftbukkit/Main.java +++ b/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)