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

Tyler Palsulich updated NUTCH-1914:
-----------------------------------
    Attachment: NUTCH-1914.palsulich.1-12-15.diff

Patch with two small fixes:
* If there is an error parsing the command line, the exception message is 
printed to standard error.
* Remove the unnecessary {{@SuppressWarnings("static-access")}} annotations.

With this patch, if you enter an invalid command:
{code}
➜  ./nutch dump -invalid
Unrecognized option: -invalid
{code}

> Improve error messages of segment dumper tool
> ---------------------------------------------
>
>                 Key: NUTCH-1914
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1914
>             Project: Nutch
>          Issue Type: Bug
>            Reporter: Tyler Palsulich
>            Priority: Minor
>         Attachments: NUTCH-1914.palsulich.1-12-15.diff
>
>
> The segment dumper from NUTCH-1526 is useful. But, if you enter an invalid 
> option (e.g. {{./nutch dump -invalid}}), nothing is printed. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to