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

[cli] support validation for one/many values

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0
    • Fix Version/s: 2.0
    • Component/s: CLI-2.x
    • Labels:
      None
    • Environment:

      Operating System: other
      Platform: Other

    • Bugzilla Id:
      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

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ittayd@qlusters.com Ittay Dror

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment