diff options
Diffstat (limited to 'src/ArgParser.java')
-rw-r--r-- | src/ArgParser.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ArgParser.java b/src/ArgParser.java index 728e63c..bb651f6 100644 --- a/src/ArgParser.java +++ b/src/ArgParser.java @@ -849,7 +849,7 @@ public class ArgParser first = empty; else first += empty.substring(first.length()); - String line = " \033[02m" + first + "\033[22m %colour%" + last; + String line = " \033[02m" + first + "\033[22m \0" + last; l += first.length() + 6 + last.length(); if (opt instanceof Variadic) { line += " [\033[04m" + opt.argument + "\033[24m...]"; @@ -874,7 +874,7 @@ public class ArgParser continue; boolean first = true; final String colour = (index & 1) == 0 ? "36" : "34"; - { String line = lines.get(index).replace("%colour%", "\033[" + colour + ";01m"); + { String line = lines.get(index).replace("\0", "\033[" + colour + ";01m"); line += empty.substring(lens.get(index)[0]); this.print(line, false); } |