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/19 10:32:00 UTC
[jira] [Updated] (GROOVY-8589) GrapeMain bugfix: should not show
error about missing mandatory args when --help or --version is specified
[ https://issues.apache.org/jira/browse/GROOVY-8589?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Remko Popma updated GROOVY-8589:
--------------------------------
Issue Type: Bug (was: Task)
> GrapeMain bugfix: should not show error about missing mandatory args when --help or --version is specified
> ----------------------------------------------------------------------------------------------------------
>
> Key: GROOVY-8589
> URL: https://issues.apache.org/jira/browse/GROOVY-8589
> Project: Groovy
> Issue Type: Bug
> Components: command line processing
> Reporter: Remko Popma
> Assignee: Paul King
> Priority: Major
> Fix For: 2.5.0-rc-3
>
>
> GROOVY-8577 introduced a bug: the parser incorrectly complains about missing mandatory options when the user specified --help or --version. For example:
> {code}
> java -cp ... org.codehaus.groovy.tools.GrapeMain install --version
> {code}
> ... gives the following output:
> {code}
> Missing required parameters: <group>, <module>
> Installs a particular grape
> Usage: grape install [-hv] <group> <module> [<version>] [<classifier>]
> Installs the specified groovy module or maven artifact. If a version is
> ...
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)