You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Sebastian Nagel (JIRA)" <ji...@apache.org> on 2014/04/27 00:14:16 UTC

[jira] [Resolved] (NUTCH-1764) readdb to show command-line help if no action (-stats, -dump, etc.) given

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

Sebastian Nagel resolved NUTCH-1764.
------------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 1.8)

+1
Thanks, [~diaa_abdallah]! Committed to trunk r1590315.

> readdb to show command-line help if no action (-stats, -dump, etc.) given
> -------------------------------------------------------------------------
>
>                 Key: NUTCH-1764
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1764
>             Project: Nutch
>          Issue Type: Bug
>          Components: crawldb
>    Affects Versions: 1.8, 1.9
>            Reporter: Diaa
>            Priority: Minor
>             Fix For: 1.9
>
>         Attachments: CrawlDbReader.java.patch
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> If you run the command readdb with just one argument nothing happens and no usage warning is issued.
> Example: bin/nutch readdb crawldb
> Actual Result: Nothing happens
> Expected Result: "Usage CrawlDbReader ... "
> The issue is due to "if (args.length < 1) " which should be 2



--
This message was sent by Atlassian JIRA
(v6.2#6252)