[
https://issues.apache.org/jira/browse/CLI-268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18008673#comment-18008673
]
Joerg Budischewski commented on CLI-268:
----------------------------------------
this is a duplicate to above issue. Indeed on master it seems to beĀ fixed by
adding getParsedOptionValues() methods for 1.10.0, but not yet released (and I
haven't used it myself yet).
> No getParsedOptionValue for options with multiple values
> --------------------------------------------------------
>
> Key: CLI-268
> URL: https://issues.apache.org/jira/browse/CLI-268
> Project: Commons CLI
> Issue Type: Wish
> Components: CLI-1.x
> Reporter: Johannes Wienke
> Priority: Major
>
> I cannot find any hint on how to get parsed value types for options which may
> appear multiple times on the command line. getParsedOptionValue only returns
> the first argument and other methods returning collections or arrays only
> return strings. Either there is documentation required on how to handle
> multi-valued options, or the implementations is really missing.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)