geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblev...@apache.org
Subject svn commit: r367844 - /geronimo/gbuild/trunk/gbuild-report/src/main/java/org/apache/geronimo/gbuild/report/GenerateReport.java
Date Wed, 11 Jan 2006 00:37:38 GMT
Author: dblevins
Date: Tue Jan 10 16:37:36 2006
New Revision: 367844

URL: http://svn.apache.org/viewcvs?rev=367844&view=rev
Log:
better params checking

Modified:
    geronimo/gbuild/trunk/gbuild-report/src/main/java/org/apache/geronimo/gbuild/report/GenerateReport.java

Modified: geronimo/gbuild/trunk/gbuild-report/src/main/java/org/apache/geronimo/gbuild/report/GenerateReport.java
URL: http://svn.apache.org/viewcvs/geronimo/gbuild/trunk/gbuild-report/src/main/java/org/apache/geronimo/gbuild/report/GenerateReport.java?rev=367844&r1=367843&r2=367844&view=diff
==============================================================================
--- geronimo/gbuild/trunk/gbuild-report/src/main/java/org/apache/geronimo/gbuild/report/GenerateReport.java
(original)
+++ geronimo/gbuild/trunk/gbuild-report/src/main/java/org/apache/geronimo/gbuild/report/GenerateReport.java
Tue Jan 10 16:37:36 2006
@@ -57,9 +57,9 @@
     public static void main(String[] args) throws Exception {
         long processStart = System.currentTimeMillis();
 
-        if (args.length != 4) {
+        if (args.length != 4 || args.length != 5) {
             System.out.println("Usage:");
-            System.out.println("    java org.apache.geronimo.gbuild.report.ProcessResults
sectionsFile workDir reportsDir outputDir");
+            System.out.println("    java org.apache.geronimo.gbuild.report.ProcessResults
sectionsFile workDir reportsDir outputDir [forceHtml]");
             System.out.println(Arrays.asList(args));
             return;
         }



Mime
View raw message