From 7dfbb429846dc1ec6991fb88dbd975f24ac12751 Mon Sep 17 00:00:00 2001 From: Remko Popma Date: Fri, 1 Jun 2018 19:39:03 +0900 Subject: [PATCH] GROOVY-8619 Update docs for Groovy Shell --- .../src/spec/doc/groovysh.adoc | 36 ++++++++++--------- 1 file changed, 20 insertions(+), 16 deletions(-) diff --git a/subprojects/groovy-groovysh/src/spec/doc/groovysh.adoc b/subprojects/groovy-groovysh/src/spec/doc/groovysh.adoc index 6b0c3636e43..b3d00f01e3e 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[=] 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= + Define a system property + -e, --evaluate= 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= Specify the terminal TYPE to use + -v, --verbose Enable verbose output + -V, --version Display the version ----------------------------------------------------------------- [[GroovyShell-EvaluatingExpressions]]