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

[cli] support validation for one/many values

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0
    • 2.0
    • CLI-2.x
    • None
    • Operating System: other
      Platform: Other

    • 36187

    Description

      currently, if i supply the same option twice, no error is issued. it would be
      nice if when creating the Option object, i could specify if it accepts multiple
      values, and if not, a parsing exception would be thrown.

      Attachments

        1. BugCLI80Test.java
          1 kB
          Andrew Shirley

        Activity

          People

            Unassigned Unassigned
            ittayd@qlusters.com Ittay Dror
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: