ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant Main.java
Date Sun, 21 Jan 2001 00:37:25 GMT
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" <Nico.Seessle@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());
       }
   
  
  
  

Mime
View raw message