mahout-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gsing...@apache.org
Subject svn commit: r1099939 - /mahout/trunk/core/src/main/java/org/apache/mahout/common/CommandLineUtil.java
Date Thu, 05 May 2011 19:42:28 GMT
Author: gsingers
Date: Thu May  5 19:42:27 2011
New Revision: 1099939

URL: http://svn.apache.org/viewvc?rev=1099939&view=rev
Log:
print out the usage along with the error, instead of just the info on the option that failed
that way people can plan ahead and know all the options

Modified:
    mahout/trunk/core/src/main/java/org/apache/mahout/common/CommandLineUtil.java

Modified: mahout/trunk/core/src/main/java/org/apache/mahout/common/CommandLineUtil.java
URL: http://svn.apache.org/viewvc/mahout/trunk/core/src/main/java/org/apache/mahout/common/CommandLineUtil.java?rev=1099939&r1=1099938&r2=1099939&view=diff
==============================================================================
--- mahout/trunk/core/src/main/java/org/apache/mahout/common/CommandLineUtil.java (original)
+++ mahout/trunk/core/src/main/java/org/apache/mahout/common/CommandLineUtil.java Thu May
 5 19:42:27 2011
@@ -73,7 +73,7 @@ public final class CommandLineUtil {
     formatter.setGroup(group);
     formatter.setPrintWriter(pw);
     formatter.setException(oe);
-    formatter.printHelp();
+    formatter.print();
     pw.flush();
   }
 



Mime
View raw message