[
https://issues.apache.org/jira/browse/GROOVY-8592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16489998#comment-16489998
]
Remko Popma commented on GROOVY-8592:
-------------------------------------
I did catch myself typing {{groovydoc -h}} and being surprised at the error
message (and forgetting and doing the same a few days later), so I would argue
that this would be a good addition.
About not consolidating the other switches, I think at this stage for the 2.5
version that is probably the wise decision.
Hope to provide a PR in the next few days.
> Migrate command line tools to picocli version of CliBuilder
> -----------------------------------------------------------
>
> Key: GROOVY-8592
> URL: https://issues.apache.org/jira/browse/GROOVY-8592
> Project: Groovy
> Issue Type: Improvement
> Components: command line processing
> Affects Versions: 2.5.0-rc-3
> Reporter: Remko Popma
> Priority: Major
> Fix For: 2.5.0
>
>
> The following command line tools use either {{groovy.cli.commons.CliBuilder}}
> or implicitly use {{groovy.util.CliBuilder}} which delegates to the
> commons-cli version of CliBuilder:
> * groovyConsole (groovy.ui.Console)
> * groovydoc (org.codehaus.groovy.tools.groovydoc.Main)
> * groovysh (org.codehaus.groovy.tools.shell.Main)
> This ticket proposes to use {{groovy.cli.picocli.CliBuilder}} instead, so
> that all command line tools in the {{bin}} directory of the Groovy
> distribution show usage help in ANSI colors.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)