Uploaded image for project: 'Commons CLI'
  1. Commons CLI
  2. CLI-311

@Option annotation doesn't allow for a required option

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Options definition
    • None

    Description

      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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            demus Daniel Demus

            Dates

              Created:
              Updated:

              Slack

                Issue deployment