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

HelpFormatter.printHelp(String cmdLineSyntax, String header, Options options, String footer) throws exception if footer contains CR LF

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 1.0
    • Fix Version/s: 1.1
    • Component/s: None
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: PC

    • Bugzilla Id:
      37969

      Description

      If String footer contains windows new line, printHelp throws exception.
      If it contains only LF line endings, it works fine on Linux and Windows platforms.

        Attachments

        1. BugCLI18Test.java
          1.0 kB
          Andrew Shirley
        2. BugCLI18Test.java
          2 kB
          Andrew Shirley

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                nebojsa@anja.ig3.net NebojĀša
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: