groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sun...@apache.org
Subject groovy git commit: GROOVY-8619 Update docs for Groovy Shell(closes #740)
Date Fri, 01 Jun 2018 11:08:21 GMT
Repository: groovy
Updated Branches:
  refs/heads/GROOVY_2_6_X 509893a18 -> abec0e510


GROOVY-8619 Update docs for Groovy Shell(closes #740)

(cherry picked from commit f32ec7c)


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

Branch: refs/heads/GROOVY_2_6_X
Commit: abec0e510c6c44e6f00b73707a8227a15bf24722
Parents: 509893a
Author: Remko Popma <remkop@yahoo.com>
Authored: Fri Jun 1 18:39:03 2018 +0800
Committer: sunlan <sunlan@apache.org>
Committed: Fri Jun 1 19:08:14 2018 +0800

----------------------------------------------------------------------
 .../groovy-groovysh/src/spec/doc/groovysh.adoc  | 36 +++++++++++---------
 1 file changed, 20 insertions(+), 16 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/abec0e51/subprojects/groovy-groovysh/src/spec/doc/groovysh.adoc
----------------------------------------------------------------------
diff --git a/subprojects/groovy-groovysh/src/spec/doc/groovysh.adoc b/subprojects/groovy-groovysh/src/spec/doc/groovysh.adoc
index 6b0c363..b3d00f0 100644
--- a/subprojects/groovy-groovysh/src/spec/doc/groovysh.adoc
+++ b/subprojects/groovy-groovysh/src/spec/doc/groovysh.adoc
@@ -47,22 +47,26 @@ and other features.
 [source,groovy]
 -----------------------------------------------------------------
 ./bin/groovysh --help
-usage: groovysh [options] [...]
-  -C, --color[=FLAG]         Enable or disable use of ANSI colors
-  -D, --define=NAME=VALUE    Define a system property
-  -T, --terminal=TYPE        Specify the terminal TYPE to use
-  -V, --version              Display the version
-  -classpath                 Specify where to find the class files - must
-                             be first argument
-  -cp, --classpath           Aliases for '-classpath'
-  -d, --debug                Enable debug output
-  -e, --evaluate=arg         Evaluate option first when starting
-                             interactive session
-  -h, --help                 Display this help message
-  -pa, --parameters          Generate metadata for reflection on method
-                             parameter names (jdk8+ only)
-  -q, --quiet                Suppress superfluous output
-  -v, --verbose              Enable verbose output
+
+Usage: groovysh [options] [...]
+The Groovy Shell, aka groovysh, is a command-line application which allows easy
+access to evaluate Groovy expressions, define classes and run simple
+experiments.
+  -C, --color[=<FLAG>]    Enable or disable use of ANSI colors
+      -cp, -classpath, --classpath
+                          Specify where to find the class files - must be first
+                            argument
+  -d, --debug             Enable debug output
+  -D, --define=<name=value>
+                          Define a system property
+  -e, --evaluate=<CODE>   Evaluate the code first when starting interactive session
+  -h, --help              Display this help message
+      -pa, --parameters   Generate metadata for reflection on method parameter names
+                            (jdk8+ only)
+  -q, --quiet             Suppress superfluous output
+  -T, --terminal=<TYPE>   Specify the terminal TYPE to use
+  -v, --verbose           Enable verbose output
+  -V, --version           Display the version
 -----------------------------------------------------------------
 
 [[GroovyShell-EvaluatingExpressions]]


Mime
View raw message