diff options
Diffstat (limited to '')
-rw-r--r-- | src/ArgParser.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ArgParser.java b/src/ArgParser.java index afac48c..ac37a93 100644 --- a/src/ArgParser.java +++ b/src/ArgParser.java @@ -1039,7 +1039,9 @@ public class ArgParser { sb.append(' '); sb.append(file); } - this.message = sb.toString().substring(1); + this.message = sb.toString(); + if (this.message.length() > 0) + this.message = this.message.substring(1); if (this.unrecognisedCount > 5) { int more = this.unrecognisedCount - 5; |