You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2018/05/18 02:20:02 UTC
groovy git commit: GROOVY-8577: GrapeMain to picocli - trivial tweak
(closes #704)
Repository: groovy
Updated Branches:
refs/heads/master 7de69b55d -> 76cf78ea4
GROOVY-8577: GrapeMain to picocli - trivial tweak (closes #704)
Project: http://git-wip-us.apache.org/repos/asf/groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/76cf78ea
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/76cf78ea
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/76cf78ea
Branch: refs/heads/master
Commit: 76cf78ea4353a8fadc2e40850d6cddd2106e3cbc
Parents: 7de69b5
Author: Paul King <pa...@asert.com.au>
Authored: Fri May 18 12:19:45 2018 +1000
Committer: Paul King <pa...@asert.com.au>
Committed: Fri May 18 12:20:00 2018 +1000
----------------------------------------------------------------------
src/main/groovy/org/codehaus/groovy/tools/GrapeMain.groovy | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/groovy/blob/76cf78ea/src/main/groovy/org/codehaus/groovy/tools/GrapeMain.groovy
----------------------------------------------------------------------
diff --git a/src/main/groovy/org/codehaus/groovy/tools/GrapeMain.groovy b/src/main/groovy/org/codehaus/groovy/tools/GrapeMain.groovy
index 705cd26..eaa6964 100644
--- a/src/main/groovy/org/codehaus/groovy/tools/GrapeMain.groovy
+++ b/src/main/groovy/org/codehaus/groovy/tools/GrapeMain.groovy
@@ -110,7 +110,7 @@ class GrapeMain implements Runnable {
// The @Command(mixinStandardHelpOptions = true) attribute cannot be used because
// the unix standard short option for version help is uppercase -V, while previous versions
// of this class use lowercase -v. This custom mixin preserves option compatibility.
- @Command(versionProvider = VersionProvider.class, sortOptions = false,
+ @Command(versionProvider = VersionProvider, sortOptions = false,
parameterListHeading = "%nParameters:%n",
optionListHeading = "%nOptions:%n",
descriptionHeading = "%n")