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:21:00 UTC
[jira] [Created] (GROOVY-8578) Add errorWriter property to
commons-cli CliBuilder
Remko Popma created GROOVY-8578:
-----------------------------------
Summary: 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
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)