Uploaded image for project: 'OpenNLP'
  1. OpenNLP
  2. OPENNLP-556

CLI parser could report the bad parameters and flag them for the user

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • tools-1.5.1-incubating, tools-1.5.2-incubating, tools-1.5.3
    • None
    • Command Line Interface
    • None

    Description

      A mis-typed parameter can cause the parser to spit out the usage data e.g.:

      -model-type

      instead of the proper:

      -type

      Will cause the CLI to only spit out the usage for the command and not tell the user what is likely to be wrong... in this case a mis-typed parameter caused the problem.
      Maybe only outputting usage data when no parameters, in most cases, and other times outputting the problem or place of the error.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jkosin James Kosin
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: