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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 1.1
    • Fix Version/s: 1.3
    • Component/s: Options definition
    • Labels:
      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

        Issue Links

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              deexem Kristoff Kiefer

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment