You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Remko Popma (JIRA)" <ji...@apache.org> on 2018/05/13 13:22:00 UTC

[jira] [Updated] (GROOVY-8578) Add errorWriter property to commons-cli CliBuilder

     [ https://issues.apache.org/jira/browse/GROOVY-8578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Remko Popma updated GROOVY-8578:
--------------------------------
    Description: 
The picocli version of CliBuilder has an {{errorWriter}} property ({{System.err}} by default) that is used to print the error message and usage help to when the user provided invalid input on the command line.

The previously existing {{writer}} property is used when the user requests help with {{\--help}} or {{\--version}}.

I think this improvement also makes sense for the commons-cli version of CliBuilder. I can raise a PR if there is interest.

  was:
The picocli version of CliBuilder has an {{errorWriter}} property ({{System.err}} by default) that is used to print the error message and usage help to when the user provided invalid input on the command line.

The previously existing {{writer}} property is used when the user requests help with {{--help}} or {{--version}}.

I think this improvement also makes sense for the commons-cli version of CliBuilder. I can raise a PR if there is interest.


> Add errorWriter property to commons-cli CliBuilder
> --------------------------------------------------
>
>                 Key: GROOVY-8578
>                 URL: https://issues.apache.org/jira/browse/GROOVY-8578
>             Project: Groovy
>          Issue Type: Task
>          Components: command line processing
>            Reporter: Remko Popma
>            Priority: Major
>             Fix For: 2.5.0-rc-3
>
>
> The picocli version of CliBuilder has an {{errorWriter}} property ({{System.err}} by default) that is used to print the error message and usage help to when the user provided invalid input on the command line.
> The previously existing {{writer}} property is used when the user requests help with {{\--help}} or {{\--version}}.
> I think this improvement also makes sense for the commons-cli version of CliBuilder. I can raise a PR if there is interest.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)