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

[cli] Error parsing option arguments

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0
    • Fix Version/s: 1.1
    • Component/s: CLI-1.x
    • Labels:
      None
    • Environment:

      Operating System: Solaris
      Platform: Sun

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

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

              Dates

              • Created:
                Updated:
                Resolved: