summaryrefslogtreecommitdiffstats
path: root/src/main/java/org
diff options
context:
space:
mode:
authorTravis Watkins <amaranth@ubuntu.com>2012-05-15 20:18:35 -0500
committerTravis Watkins <amaranth@ubuntu.com>2012-05-16 13:21:23 -0500
commit4c8f6f2caaba24cbc3d30aa36200bde81d3e4132 (patch)
treeac3dfefc6e7684142fc9b83b72210f86eae9dbba /src/main/java/org
parente91169ebadf259898f76f6141d741b327f503d67 (diff)
downloadcraftbukkit-4c8f6f2caaba24cbc3d30aa36200bde81d3e4132.tar
craftbukkit-4c8f6f2caaba24cbc3d30aa36200bde81d3e4132.tar.gz
craftbukkit-4c8f6f2caaba24cbc3d30aa36200bde81d3e4132.tar.lz
craftbukkit-4c8f6f2caaba24cbc3d30aa36200bde81d3e4132.tar.xz
craftbukkit-4c8f6f2caaba24cbc3d30aa36200bde81d3e4132.zip
Add option to strip color codes from server.log file
Diffstat (limited to 'src/main/java/org')
-rw-r--r--src/main/java/org/bukkit/craftbukkit/Main.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/Main.java b/src/main/java/org/bukkit/craftbukkit/Main.java
index c5bfa3a2..b6e8d341 100644
--- a/src/main/java/org/bukkit/craftbukkit/Main.java
+++ b/src/main/java/org/bukkit/craftbukkit/Main.java
@@ -87,6 +87,12 @@ public class Main {
.defaultsTo(true)
.describedAs("Log append");
+ acceptsAll(asList("log-strip-color"), "Whether to strip color codes from log file")
+ .withRequiredArg()
+ .ofType(Boolean.class)
+ .defaultsTo(false)
+ .describedAs("Log stripping");
+
acceptsAll(asList("b", "bukkit-settings"), "File for bukkit settings")
.withRequiredArg()
.ofType(File.class)