You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by do...@apache.org on 2001/01/21 01:37:25 UTC
cvs commit: jakarta-ant/src/main/org/apache/tools/ant Main.java
donaldp 01/01/20 16:37:25
Modified: src/main/org/apache/tools/ant Main.java
Log:
- 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" <Ni...@epost.de>
Revision Changes Path
1.26 +3 -3 jakarta-ant/src/main/org/apache/tools/ant/Main.java
Index: Main.java
===================================================================
RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/Main.java,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- Main.java 2001/01/03 14:18:26 1.25
+++ Main.java 2001/01/21 00:37:25 1.26
@@ -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());
}