You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Shannon Quinn (JIRA)" <ji...@apache.org> on 2010/06/02 02:41:38 UTC

[jira] Updated: (MAHOUT-408) Mahout CLI OptionExceptions when given "-h" or "--help" for specific programs

     [ https://issues.apache.org/jira/browse/MAHOUT-408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shannon Quinn updated MAHOUT-408:
---------------------------------

    Attachment: MAHOUT-408.patch

> Mahout CLI OptionExceptions when given "-h" or "--help" for specific programs
> -----------------------------------------------------------------------------
>
>                 Key: MAHOUT-408
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-408
>             Project: Mahout
>          Issue Type: Bug
>    Affects Versions: 0.4
>            Reporter: Shannon Quinn
>            Priority: Minor
>             Fix For: 0.4
>
>         Attachments: MAHOUT-408.patch
>
>
> The following Mahout programs incorrectly processed -h flags, throwing OptionExceptions:
> seq2sparse
> seqdirectory
> seqwiki
> svd
> trainclassifier
> transpose
> The first five are easily addressed by adding "parser.setHelpOption(helpOpt)" in the correct driver files (thanks to Jeff Eastman). The "transpose" program also contained a NullPointerException thrown when two integer arguments were not verified. See the patch file for a possible fix.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.