[ 
https://issues.apache.org/jira/browse/CLI-141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bjorn Townsend updated CLI-141:
-------------------------------

    Attachment: CLI-141-clean.patch

Cleaned up the patch a little bit. It applies to the 1.x branch for me without 
any problems.

The hasArg instance that Henri thought Henning missed is not an issue -- it's 
just a local variable. +1 to adopting this.

> CLI Option reports arguments incorrectly on toString()
> ------------------------------------------------------
>
>                 Key: CLI-141
>                 URL: https://issues.apache.org/jira/browse/CLI-141
>             Project: Commons CLI
>          Issue Type: Bug
>          Components: CLI-1.x
>    Affects Versions: 1.1
>            Reporter: Henning Schmiedehausen
>            Priority: Minor
>             Fix For: 1.2
>
>         Attachments: CLI-141-clean.patch, option.patch
>
>
> The Option class contains some logic around the "hasArg" boolean that seems 
> to be cruft and no longer works correctly. There is no need for this boolean 
> anymore and its only usage could be replaced with hasArg() / hasArgs() calls.

-- 
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