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

[cli][PATCH] cli2.commandline.Parser.parseAndHelp need not throw IOException

    XMLWordPrintableJSON

    Details

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

      Operating System: other
      Platform: Other

    • Bugzilla Id:
      38920

      Description

      Hi all,

      After COM-2749 was resolved, org.apache.commons.cli2.commandline.Parser
      needn't throw IOException. The attached patch also fixes a test case to no
      longer try and catch this exception.

      This is a patch to unreleased code. Please commit!

      Thanks,
      James

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sjr James Ring
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: