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

HelpFormatter should be more cunning when deciding if a Group is Optional and therefore square-bracketing it

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0
    • CLI-2.x, Help formatter
    • None

    Description

      Currently all child groups are required to satisfy their constraints (defaul is any thing goes) and so if you have a Group A as a child of Group B and set a minimum of 1 on A then B is no longer Optional as A is not Optional.

      Attachments

        Issue Links

          Activity

            People

              oheger Oliver Heger
              aks Andrew Shirley
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: