From 8a6a0cce6661f5e7d1660f888cf2c6049daa82a7 Mon Sep 17 00:00:00 2001 From: Max Rydahl Andersen Date: Fri, 5 Feb 2021 22:58:58 +0100 Subject: [PATCH] chore: make it sound less like script must be single [minor] --- readme.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.adoc b/readme.adoc index b7dfb4237..db3b028e2 100644 --- a/readme.adoc +++ b/readme.adoc @@ -275,7 +275,7 @@ For example `iex "& { $(iwr -useb https://ps.jbang.dev) } properties@jbangdev"` == Usage -A script is just a single `.java` file with a classic static main method or a `.jsh` file which will be passed to `jshell`. +A minimal script is a single `.java` file with a typical `static void main` method or a `.jsh` file which will be passed to `jshell`. Below is an (almost) minimal example you can save in `helloworld.java` or simply run `jbang init helloworld.java`: