aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-08-26 13:50:36 +0200
committerMattias Andrée <maandree@operamail.com>2013-08-26 13:50:36 +0200
commit45455695b2aa2b2181de0b99093b59e26599e277 (patch)
treeca282911395485b32548a64442948c5ea4e72896
parentm bash (diff)
downloadargparser-45455695b2aa2b2181de0b99093b59e26599e277.tar.gz
argparser-45455695b2aa2b2181de0b99093b59e26599e277.tar.bz2
argparser-45455695b2aa2b2181de0b99093b59e26599e277.tar.xz
m java
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r--src/argparser/ArgParser.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/argparser/ArgParser.java b/src/argparser/ArgParser.java
index 7a95c46..f7d2b9c 100644
--- a/src/argparser/ArgParser.java
+++ b/src/argparser/ArgParser.java
@@ -1092,7 +1092,7 @@ public class ArgParser
l += opt.argument.length() + 6;
}
else if (opt.getClass() == Optargumented.class)
- { line += useColours ? (" \033[04m" + opt.argument + "\033[24m") : (" [" + opt.argument + "]");
+ { line += useColours ? (" [\033[04m" + opt.argument + "\033[24m]") : (" [" + opt.argument + "]");
l += opt.argument.length() + 3;
}
else if (opt.getClass() == Argumented.class)