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

[cli] Error parsing option arguments

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0
    • 1.1
    • CLI-1.x
    • None
    • Operating System: Solaris
      Platform: Sun

    • 25044

    Description

      I hav a tool that takes the following options: -p -attr.
      Both takes argument. If the user wants to specify p as the argument for attr,
      -attr p, cli throws a MissingArgumentException. This is because it sees p as an
      option rather than the argument of attr.

      Attachments

        Activity

          People

            Unassigned Unassigned
            grimsell Magnus Grimsell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: