- There was an ugly line-break and system was duplicate.
- Error message for unknown arguments know reads "Unknown argument" instead
of "Unknown arg"

Nico

Index: Main.java
===================================================================
RCS file: /home/cvspublic/jakarta-ant/src/main/org/apache/tools/ant/Main.java,v
retrieving revision 1.25
diff -u -r1.25 Main.java
--- Main.java   2001/01/03 14:18:26     1.25
+++ Main.java   2001/01/20 19:16:08
@@ -264,7 +264,7 @@
                 }
             } 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 @@
         msg.append("  -listener <classname>  add an instance of class as a 
project listener" + lSep);
         msg.append("  -buildfile <file>      use given buildfile" + lSep);
         msg.append("  -D<property>=<value>   use value for given property" + 
lSep);
-        msg.append("  -find <file>           search for buildfile towards the 
root of the filesystem" + lSep);
-        msg.append("                         system and use it" + lSep);
+        msg.append("  -find <file>           search for buildfile towards the 
root of the" + lSep);
+        msg.append("                         filesystem and use it" + lSep);
         System.out.println(msg.toString());
     }
 

Reply via email to