groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GROOVY-8589) GrapeMain bugfix: should not show error about missing mandatory args when --help or --version is specified
Date Fri, 18 May 2018 23:08:00 GMT

    [ https://issues.apache.org/jira/browse/GROOVY-8589?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16481324#comment-16481324
] 

ASF GitHub Bot commented on GROOVY-8589:
----------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/groovy/pull/711


> 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: Task
>          Components: command line processing
>            Reporter: Remko Popma
>            Priority: Major
>
> 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)

Mime
View raw message