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