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

@Option annotation doesn't allow for a required option

    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

          People

            Unassigned Unassigned
            demus Daniel Demus
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: