From 415946f0000b7065f410262d5f56f0f448e00e54 Mon Sep 17 00:00:00 2001 From: Peter Donald Date: Sun, 21 Jan 2001 00:37:25 +0000 Subject: [PATCH] - There was an ugly line-break and system was duplicate. - Error message for unknown arguments know reads "Unknown argument" instead of "Unknown arg" Submitted By: "Nico Seessle" git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268490 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/org/apache/tools/ant/Main.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/org/apache/tools/ant/Main.java b/src/main/org/apache/tools/ant/Main.java index 6255993c2..43a5007d4 100644 --- a/src/main/org/apache/tools/ant/Main.java +++ b/src/main/org/apache/tools/ant/Main.java @@ -264,7 +264,7 @@ public class Main { } } else if (arg.startsWith("-")) { // we don't have any more args to recognize! - String msg = "Unknown arg: " + arg; + String msg = "Unknown argument: " + arg; System.out.println(msg); printUsage(); return; @@ -504,8 +504,8 @@ public class Main { msg.append(" -listener add an instance of class as a project listener" + lSep); msg.append(" -buildfile use given buildfile" + lSep); msg.append(" -D= use value for given property" + lSep); - msg.append(" -find search for buildfile towards the root of the filesystem" + lSep); - msg.append(" system and use it" + lSep); + msg.append(" -find search for buildfile towards the root of the" + lSep); + msg.append(" filesystem and use it" + lSep); System.out.println(msg.toString()); }