From a561dafb7f1bbdfeb1c0bdceeef72e3b010efde7 Mon Sep 17 00:00:00 2001 From: Remko Popma Date: Fri, 1 Jun 2018 19:53:40 +0900 Subject: [PATCH] GROOVY-8618 Update docs for GroovyConsole --- .../src/spec/doc/groovy-console.adoc | 21 +++++++++++-------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/subprojects/groovy-console/src/spec/doc/groovy-console.adoc b/subprojects/groovy-console/src/spec/doc/groovy-console.adoc index c55a266b5b6..da259b71a9f 100644 --- a/subprojects/groovy-console/src/spec/doc/groovy-console.adoc +++ b/subprojects/groovy-console/src/spec/doc/groovy-console.adoc @@ -53,15 +53,18 @@ The Groovy Console supports several options to control classpath and other featu [source,groovy] ----------------------------------------------------------------- ./bin/groovyConsole --help -usage: groovyConsole [options] [filename] - -classpath Specify where to find the class files - must be first - argument - -cp,--classpath Aliases for '-classpath' - -h,--help Display this help message - -pa,--parameters Generate metadata for reflection on method parameter - names (jdk8+ only) - -i,--indy Enable InvokeDynamic (Indy) compilation for scripts - -V,--version Display the version +Usage: groovyConsole [options] [filename] +The Groovy Swing Console allows a user to enter and run Groovy scripts. + --configscript=PARAM A script for tweaking the compiler configuration options + -cp, -classpath, --classpath + Specify where to find the class files - must be first + argument + -D, --define= Define a system property + -h, --help Display this help message + -i, --indy Enable InvokeDynamic (Indy) compilation for scripts + -pa, --parameters Generate metadata for reflection on method parameter + names (jdk8+ only) + -V, --version Display the version ----------------------------------------------------------------- [[GroovyConsole-RunningScripts]]