Uploaded image for project: 'Nutch'
  1. Nutch
  2. NUTCH-1764

readdb to show command-line help if no action (-stats, -dump, etc.) given

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.8, 1.9
    • 1.9
    • crawldb
    • None

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            diaa_abdallah Diaa
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: