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

OptionBuilder only has static methods, yet many return an OptionBuilder instance

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2
    • 1.3
    • CLI-1.x
    • None

    Description

      CLI-83 was closed as fixed in 2.0, but it seems that there is no current plan to release CLI 2.0. Could this fix be rolled into the 1.x line? I'm attaching a new version of option builder that addresses the issue (named DefaultOptionBuilder to maintain backwards compatability) and a unit test for it.

      Attachments

        1. DefaultOptionBuilderTest.java
          4 kB
          Brian Blount
        2. DefaultOptionBuilder.java
          11 kB
          Brian Blount
        3. commons-cli-CLI-224.patch
          11 kB
          Duncan Jones

        Issue Links

          Activity

            People

              Unassigned Unassigned
              brian.blount@zilliant.com Brian Blount
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: