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 2021/05/07 12:40:00 UTC

[jira] [Created] (NUTCH-2863) Injector to parse command-line flags case-insensitive

Sebastian Nagel created NUTCH-2863:
--------------------------------------

             Summary: Injector to parse command-line flags case-insensitive
                 Key: NUTCH-2863
                 URL: https://issues.apache.org/jira/browse/NUTCH-2863
             Project: Nutch
          Issue Type: Bug
          Components: injector
    Affects Versions: 1.18
            Reporter: Sebastian Nagel
             Fix For: 1.19


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:
{noformat}
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
{noformat}

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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)