[
https://issues.apache.org/jira/browse/CLI-187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Emmanuel Bourg updated CLI-187:
-------------------------------
Fix Version/s: 1.3
Affects Version/s: 1.1
(was: 1.3)
> OptionBuilder working incorrectly at first Invocation of create(...)
> --------------------------------------------------------------------
>
> Key: CLI-187
> URL: https://issues.apache.org/jira/browse/CLI-187
> Project: Commons CLI
> Issue Type: Bug
> Components: Options definition
> Affects Versions: 1.1
> Reporter: Kristoff Kiefer
> Priority: Minor
> Fix For: 1.3
>
> Attachments: OptionBuilder.patch
>
>
> 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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.