diff options
author | Travis Watkins <amaranth@ubuntu.com> | 2012-06-02 14:43:38 -0500 |
---|---|---|
committer | Travis Watkins <amaranth@ubuntu.com> | 2012-06-02 14:43:38 -0500 |
commit | 13fcb9e37164740b7142c6cee8951bfd5e776e51 (patch) | |
tree | 58b39d5d58ab060ad5e9c52cd39e43a18ac15314 /src/main | |
parent | 70c91c161ee3e70bb18a409347a6353b93a691e8 (diff) | |
download | craftbukkit-13fcb9e37164740b7142c6cee8951bfd5e776e51.tar craftbukkit-13fcb9e37164740b7142c6cee8951bfd5e776e51.tar.gz craftbukkit-13fcb9e37164740b7142c6cee8951bfd5e776e51.tar.lz craftbukkit-13fcb9e37164740b7142c6cee8951bfd5e776e51.tar.xz craftbukkit-13fcb9e37164740b7142c6cee8951bfd5e776e51.zip |
Make log-strip-color a simple flag instead of a boolean.
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/Main.java | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/Main.java b/src/main/java/org/bukkit/craftbukkit/Main.java index b6e8d341..a30daaf2 100644 --- a/src/main/java/org/bukkit/craftbukkit/Main.java +++ b/src/main/java/org/bukkit/craftbukkit/Main.java @@ -87,11 +87,7 @@ 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("log-strip-color"), "Strips color codes from log file"); acceptsAll(asList("b", "bukkit-settings"), "File for bukkit settings") .withRequiredArg() |