[
https://issues.apache.org/jira/browse/MAHOUT-762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13065334#comment-13065334
]
Dhruv Kumar commented on MAHOUT-762:
------------------------------------
Simple fix, as suggested by Jake:
{code:title=VectorDumper.java|borderStyle=solid}
//added .withOption(helpOpt)
Group group =
gbuilder.withName("Options").withOption(seqOpt).withOption(outputOpt)
.withOption(dictTypeOpt).withOption(dictOpt).withOption(csvOpt)
.withOption(vectorAsKeyOpt).withOption(printKeyOpt).withOption(sizeOpt)
.withOption(helpOpt).create();
{code}
> VectorDumper fails to parse --help option
> -----------------------------------------
>
> Key: MAHOUT-762
> URL: https://issues.apache.org/jira/browse/MAHOUT-762
> Project: Mahout
> Issue Type: Bug
> Components: Clustering
> Affects Versions: 0.5
> Reporter: Dhruv Kumar
> Priority: Trivial
> Fix For: 0.5, 0.6
>
> Attachments: MAHOUT-762.patch
>
>
> In VectorDumper.java, the Group Builder does not add help as a command line
> argument. This raises an exception when the user tries "bin/mahout vectordump
> --help."
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira