Make log-strip-color a simple flag instead of a boolean.

By: Travis Watkins <amaranth@ubuntu.com>
This commit is contained in:
CraftBukkit/Spigot 2012-06-02 14:43:38 -05:00
parent 8716e36905
commit a0edb34eab

View file

@ -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()