commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henning Schmiedehausen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CLI-142) CLI Parser is not very extension friendly
Date Tue, 14 Aug 2007 14:55:30 GMT

    [ https://issues.apache.org/jira/browse/CLI-142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12519699
] 

Henning Schmiedehausen commented on CLI-142:
--------------------------------------------

Legacy application, got it to work with that hack. I might consider moving to CLI 2 in the
near future, for now, that patch did the trick for me.

> CLI Parser is not very extension friendly
> -----------------------------------------
>
>                 Key: CLI-142
>                 URL: https://issues.apache.org/jira/browse/CLI-142
>             Project: Commons CLI
>          Issue Type: Improvement
>          Components: CLI-1.x
>    Affects Versions: 1.1
>            Reporter: Henning Schmiedehausen
>            Priority: Minor
>             Fix For: 1.2
>
>         Attachments: parser.patch
>
>
> The Parser class is not really extension friendly.
> - cmd is private, should either be protected or have a getter/setter pair
> - options and requiredOptions should have getter/setters (requiredOptions depends on
options)
> - processProperties is private, should be protected
> - processOptions is private, should be protected
> - 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message