[
https://issues.apache.org/jira/browse/CLI-311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17433959#comment-17433959
]
Gary D. Gregory commented on CLI-311:
-------------------------------------
Note that we have no annotations.
> @Option annotation doesn't allow for a required option
> ------------------------------------------------------
>
> Key: CLI-311
> URL: https://issues.apache.org/jira/browse/CLI-311
> Project: Commons CLI
> Issue Type: Bug
> Components: Options definition
> Reporter: Daniel Demus
> Priority: Major
>
> When using the Map style of defining options it is possible to specify an
> option as required, which results in an error if the option is not specified
> and influences the help text.
>
> This possibility seems to be missing on the @Option annotation.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)