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

Injector to parse command-line flags case-insensitive

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.18
    • 1.19
    • injector

    Description

      Injector parses command-line arguments case-sensitive and flags such as -noNormalize need to be spelled accordingly. Unluckily, the correct case is not consistently used in the command-line help:

      Usage: Injector [-D...] <crawldb> <url_dir> [-overwrite|-update] [-noFilter] [-noNormalize] [-filterNormalizeAll]
      
      ...
      
       -nonormalize   Do not normalize URLs before injecting
       -nofilter      Do not apply URL filters to injected URLs
      

      Maybe better to just ignore case? But the command-line help should be consistent.

      Attachments

        Activity

          People

            snagel Sebastian Nagel
            snagel Sebastian Nagel
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: