You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Andrew Shirley (JIRA)" <ji...@apache.org> on 2006/06/06 15:05:30 UTC

[jira] Commented: (CLI-18) [cli] HelpFormatter.printHelp(String cmdLineSyntax, String header, Options options, String footer) throws exception if footer contains CR LF

    [ http://issues.apache.org/jira/browse/CLI-18?page=comments#action_12414954 ] 

Andrew Shirley commented on CLI-18:
-----------------------------------

I tried to write a JUnit test case for this and couldn't reproduce it for either cli or cli2. I was working on the latest svn on a linux desktop. I will attach my unittests for others to try in other environments.

> [cli] HelpFormatter.printHelp(String cmdLineSyntax, String header, Options options, String footer) throws exception if footer contains CR LF
> --------------------------------------------------------------------------------------------------------------------------------------------
>
>          Key: CLI-18
>          URL: http://issues.apache.org/jira/browse/CLI-18
>      Project: Commons CLI
>         Type: Bug

>     Versions: 1.0 Final
>  Environment: Operating System: All
> Platform: PC
>     Reporter: NebojĀša

>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org