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

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0
    • Component/s: CLI-2.x, Help formatter
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: