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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.0
    • 1.1
    • None
    • None
    • Operating System: All
      Platform: PC

    • 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
          2 kB
          Andrew Shirley
        2. BugCLI18Test.java
          1.0 kB
          Andrew Shirley

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: