[ 
https://issues.apache.org/jira/browse/CLI-187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12880486#action_12880486
 ] 

Emmanuel Bourg commented on CLI-187:
------------------------------------

Thank you for pointing this, there is indeed an inconsistency. The default 
argument name is already defined in HelpFormatter and this is where is really 
belongs.

> 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.3
>            Reporter: Kristoff Kiefer
>            Priority: Minor
>         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.

Reply via email to