This is an automated email from the ASF dual-hosted git repository.
paulk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git
The following commit(s) were added to refs/heads/master by this push:
new e878651588 GROOVY-8162: Update Groovysh to JLine3 (reorder some
commands)
e878651588 is described below
commit e8786515888e6e768ddf56597b3cb31a8fc772a5
Author: Paul King <[email protected]>
AuthorDate: Sun Aug 3 17:31:15 2025 +1000
GROOVY-8162: Update Groovysh to JLine3 (reorder some commands)
---
.../groovy-groovysh/src/spec/doc/groovysh.adoc | 44 +++++++++++-----------
1 file changed, 22 insertions(+), 22 deletions(-)
diff --git a/subprojects/groovy-groovysh/src/spec/doc/groovysh.adoc
b/subprojects/groovy-groovysh/src/spec/doc/groovysh.adoc
index bd2634a5d2..737f8b6a2a 100644
--- a/subprojects/groovy-groovysh/src/spec/doc/groovysh.adoc
+++ b/subprojects/groovy-groovysh/src/spec/doc/groovysh.adoc
@@ -364,6 +364,12 @@ groovy> /imports
import java.util.concurrent.BlockingQueue
--------------
+[[GroovyShell-inspect]]
+==== `/inspect`
+
+Opens the GUI object browser to inspect a variable or the result of the
+last evaluation.
+
[[GroovyShell-less]]
==== `/less`
@@ -372,28 +378,6 @@ Formatting of common file types is supported.
image:assets/img/repl_less.png[Usage of the /less command, width=85%]
-[[GroovyShell-reset]]
-==== `/reset`
-
-Clears the current buffer and shared variables.
-
-[[GroovyShell-prnt]]
-==== `/prnt`
-
-The `/prnt` command outputs its argument to the console. Both variable
expansion
-and formatting are supported.
-
-image:assets/img/repl_prnt.png[usage of the /prnt command, width=60%]
-
-See also the `/echo` command, which is similar but takes multiple arguments.
-It also supports variable expansion but doesn't support formatting.
-
-[[GroovyShell-inspect]]
-==== `/inspect`
-
-Opens the GUI object browser to inspect a variable or the result of the
-last evaluation.
-
[[GroovyShell-load]]
==== `/load`
@@ -410,6 +394,22 @@ Edit the current buffer in an external editor.
Currently only works on UNIX systems which have the `EDITOR` environment
variable set, or have configured the `editor` preference.
+[[GroovyShell-prnt]]
+==== `/prnt`
+
+The `/prnt` command outputs its argument to the console. Both variable
expansion
+and formatting are supported.
+
+image:assets/img/repl_prnt.png[usage of the /prnt command, width=60%]
+
+See also the `/echo` command, which is similar but takes multiple arguments.
+It also supports variable expansion but doesn't support formatting.
+
+[[GroovyShell-reset]]
+==== `/reset`
+
+Clears the current buffer and shared variables.
+
[[GroovyShell-save]]
==== `/save`