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

Multiple Options in Option Group

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • CLI-1.x
    • None

    Description

      Allow the creation of multiple Options with in an OptionGroup so something like the following can be created:

      [ -a ] [ [ -b <arg>] [ -c <arg> ] | [ -d <arg> ] | [ -e <arg> ]]

      So these would be valid:

      -b <arg>

      -c <arg>

      -b <arg> -c <arg>

      -d <arg>

      -e <arg>

      The "-d", "-e", and "-b -c" are mutually exclusive

      Attachments

        Activity

          People

            Unassigned Unassigned
            kaori01 Richard Kao
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: