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 23:35:04 UTC

[3/4] groovy git commit: GROOVY-8577 upgrade to picocli 3.0.1: parent command name is now automatically inserted in usage help for subcommand (closes #711)

GROOVY-8577 upgrade to picocli 3.0.1: parent command name is now automatically inserted in usage help for subcommand (closes #711)


Project: http://git-wip-us.apache.org/repos/asf/groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/c4d6452e
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/c4d6452e
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/c4d6452e

Branch: refs/heads/GROOVY_2_6_X
Commit: c4d6452eae8ede0e95180f8530f5251a48968a31
Parents: c02989a
Author: Remko Popma <re...@yahoo.com>
Authored: Sat May 19 00:37:39 2018 +0900
Committer: Paul King <pa...@asert.com.au>
Committed: Sat May 19 09:07:32 2018 +1000

----------------------------------------------------------------------
 build.gradle                                               | 2 +-
 src/main/groovy/org/codehaus/groovy/tools/GrapeMain.groovy | 4 ----
 2 files changed, 1 insertion(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/c4d6452e/build.gradle
----------------------------------------------------------------------
diff --git a/build.gradle b/build.gradle
index edc53dd..aced033 100644
--- a/build.gradle
+++ b/build.gradle
@@ -162,7 +162,7 @@ ext {
     luceneVersion = '4.7.2'
     openbeansVersion = '1.0'
     openejbVersion = '1.0'
-    picocliVersion = '3.0.0'
+    picocliVersion = '3.0.1'
     qdoxVersion = '1.12.1'
     slf4jVersion = '1.7.21'
     xmlunitVersion = '1.6'

http://git-wip-us.apache.org/repos/asf/groovy/blob/c4d6452e/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 7c6dee2..b51322d 100644
--- a/src/main/groovy/org/codehaus/groovy/tools/GrapeMain.groovy
+++ b/src/main/groovy/org/codehaus/groovy/tools/GrapeMain.groovy
@@ -127,7 +127,6 @@ class GrapeMain implements Runnable {
     }
 
     @Command(name = 'install', header = 'Installs a particular grape',
-            synopsisHeading = 'Usage: grape ',
             description = 'Installs the specified groovy module or maven artifact. If a version is specified that specific version will be installed, otherwise the most recent version will be used (as if `*` was passed in).')
     private static class Install implements Runnable {
         @Parameters(index = '0', arity = '1', description = 'Which module group the module comes from. Translates directly to a Maven groupId or an Ivy Organization. Any group matching /groovy[x][\\..*]^/ is reserved and may have special meaning to the groovy endorsed modules.')
@@ -164,7 +163,6 @@ class GrapeMain implements Runnable {
     }
 
     @Command(name = 'list', header = 'Lists all installed grapes',
-            synopsisHeading = 'Usage: grape ',
             description = 'Lists locally installed modules (with their full maven name in the case of groovy modules) and versions.')
     private static class ListCommand implements Runnable {
 
@@ -196,7 +194,6 @@ class GrapeMain implements Runnable {
     }
 
     @Command(name = 'resolve', header = 'Enumerates the jars used by a grape',
-            synopsisHeading = 'Usage: grape ',
             description = 'Prints the file locations of the jars representing the artifcats for the specified module(s) and the respective transitive dependencies.')
     private static class Resolve implements Runnable {
 
@@ -292,7 +289,6 @@ class GrapeMain implements Runnable {
     }
 
     @Command(name = 'uninstall',
-            synopsisHeading = 'Usage: grape ',
             description = 'Uninstalls a particular grape (non-transitively removes the respective jar file from the grape cache).')
     private static class Uninstall implements Runnable {
         @Parameters(index = '0', arity = '1', description = 'Which module group the module comes from. Translates directly to a Maven groupId or an Ivy Organization. Any group matching /groovy[x][\\..*]^/ is reserved and may have special meaning to the groovy endorsed modules.')