13
0
geforkt von Mirrors/Paper

Add option to strip color codes from server.log file

By: Travis Watkins <amaranth@ubuntu.com>
Dieser Commit ist enthalten in:
CraftBukkit/Spigot 2012-05-15 20:18:35 -05:00
Ursprung 01b14886d7
Commit 8afa2be81a

Datei anzeigen

@ -87,6 +87,12 @@ public class Main {
.defaultsTo(true) .defaultsTo(true)
.describedAs("Log append"); .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("b", "bukkit-settings"), "File for bukkit settings") acceptsAll(asList("b", "bukkit-settings"), "File for bukkit settings")
.withRequiredArg() .withRequiredArg()
.ofType(File.class) .ofType(File.class)