Return-Path: Delivered-To: apmail-mahout-commits-archive@www.apache.org Received: (qmail 94442 invoked from network); 11 Jul 2010 22:56:15 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 11 Jul 2010 22:56:15 -0000 Received: (qmail 66646 invoked by uid 500); 11 Jul 2010 22:56:15 -0000 Delivered-To: apmail-mahout-commits-archive@mahout.apache.org Received: (qmail 66576 invoked by uid 500); 11 Jul 2010 22:56:15 -0000 Mailing-List: contact commits-help@mahout.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mahout.apache.org Delivered-To: mailing list commits@mahout.apache.org Received: (qmail 66569 invoked by uid 99); 11 Jul 2010 22:56:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Jul 2010 22:56:14 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Jul 2010 22:56:12 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id DA55923889E2; Sun, 11 Jul 2010 22:55:18 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: commits@mahout.apache.org From: srowen@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100711225518.DA55923889E2@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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."); } /**