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

This commit is contained in:
Travis Watkins 2012-06-02 14:43:38 -05:00
parent 70c91c161e
commit 13fcb9e371

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