From 13fcb9e37164740b7142c6cee8951bfd5e776e51 Mon Sep 17 00:00:00 2001 From: Travis Watkins Date: Sat, 2 Jun 2012 14:43:38 -0500 Subject: [PATCH] Make log-strip-color a simple flag instead of a boolean. --- src/main/java/org/bukkit/craftbukkit/Main.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/main/java/org/bukkit/craftbukkit/Main.java b/src/main/java/org/bukkit/craftbukkit/Main.java index b6e8d341ed..a30daaf29d 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()