Uploaded image for project: 'Commons CLI'
  1. Commons CLI
  2. CLI-202

Default options are not taken into account for the required options

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.1
    • 1.3
    • Parser
    • None

    Description

      The default options passed as a Properties instance to the parse method are not taken into account when the required options are checked at the end of the parsing. If a required option wasn't present among the arguments of the command line and is picked from the default options, a ParseException is thrown.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ebourg Emmanuel Bourg
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: