mahout-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sro...@apache.org
Subject svn commit: r963156 - in /mahout/trunk/core/src/main/java/org/apache/mahout/common: AbstractJob.java commandline/DefaultOptionCreator.java
Date Sun, 11 Jul 2010 22:55:18 GMT
Author: srowen
Date: Sun Jul 11 22:55:18 2010
New Revision: 963156

URL: http://svn.apache.org/viewvc?rev=963156&view=rev
Log:
MAHOUT-438 and MAHOUT-439

Modified:
    mahout/trunk/core/src/main/java/org/apache/mahout/common/AbstractJob.java
    mahout/trunk/core/src/main/java/org/apache/mahout/common/commandline/DefaultOptionCreator.java

Modified: mahout/trunk/core/src/main/java/org/apache/mahout/common/AbstractJob.java
URL: http://svn.apache.org/viewvc/mahout/trunk/core/src/main/java/org/apache/mahout/common/AbstractJob.java?rev=963156&r1=963155&r2=963156&view=diff
==============================================================================
--- mahout/trunk/core/src/main/java/org/apache/mahout/common/AbstractJob.java (original)
+++ mahout/trunk/core/src/main/java/org/apache/mahout/common/AbstractJob.java Sun Jul 11 22:55:18
2010
@@ -182,10 +182,10 @@ public abstract class AbstractJob extend
     return option;
   }
   
-  /** Add the default output directory option, '-o' which takes a directory
+  /** Add the default input directory option, '-i' which takes a directory
    *  name as an argument. When {@link #parseArguments(String[])} is 
-   *  called, the outputPath will be set based upon the value for this option.
-   *  This this method is called, the output is required. 
+   *  called, the inputPath will be set based upon the value for this option.
+   *  If this method is called, the input is required.
    */
   protected void addInputOption() {
     this.inputOption = addOption(DefaultOptionCreator.inputOption().create());
@@ -194,7 +194,7 @@ public abstract class AbstractJob extend
   /** Add the default output directory option, '-o' which takes a directory
    *  name as an argument. When {@link #parseArguments(String[])} is 
    *  called, the outputPath will be set based upon the value for this option.
-   *  This this method is called, the output is required. 
+   *  If this method is called, the output is required. 
    */
   protected void addOutputOption() {
     this.outputOption = addOption(DefaultOptionCreator.outputOption().create());

Modified: mahout/trunk/core/src/main/java/org/apache/mahout/common/commandline/DefaultOptionCreator.java
URL: http://svn.apache.org/viewvc/mahout/trunk/core/src/main/java/org/apache/mahout/common/commandline/DefaultOptionCreator.java?rev=963156&r1=963155&r2=963156&view=diff
==============================================================================
--- mahout/trunk/core/src/main/java/org/apache/mahout/common/commandline/DefaultOptionCreator.java
(original)
+++ mahout/trunk/core/src/main/java/org/apache/mahout/common/commandline/DefaultOptionCreator.java
Sun Jul 11 22:55:18 2010
@@ -43,7 +43,7 @@ public final class DefaultOptionCreator 
   public static DefaultOptionBuilder inputOption() {
     return new DefaultOptionBuilder().withLongName("input").withRequired(false).withShortName("i").withArgument(
         new ArgumentBuilder().withName("input").withMinimum(1).withMaximum(1).create()).withDescription(
-        "Path to job input directory. Must be a SequenceFile of VectorWritable");
+        "Path to job input directory.");
   }
 
   /**



Mime
View raw message