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

OptionBuilder working incorrectly at first Invocation of create(...)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 1.1
    • 1.3
    • Options definition
    • None

    Description

      OptionBuilder is working incorrectly when invoked for the first time. Since "argName" is null the arg-text will not be initialized for the first option created. argName is set on the call to reset() though.
      So after the first Option created OptionBuilder works fine.

      Attachments

        1. OptionBuilder.patch
          1 kB
          Kristoff Kiefer

        Issue Links

          Activity

            People

              Unassigned Unassigned
              deexem Kristoff Kiefer
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: