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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.2
    • Fix Version/s: 1.3
    • Component/s: CLI-1.x
    • Labels:
      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. DefaultOptionBuilder.java
          11 kB
          Brian Blount
        2. DefaultOptionBuilderTest.java
          4 kB
          Brian Blount
        3. commons-cli-CLI-224.patch
          11 kB
          Duncan Jones

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: