Skip to content

Commit

Permalink
chore: make it sound less like script must be single [minor]
Browse files Browse the repository at this point in the history
  • Loading branch information
maxandersen committed Feb 5, 2021
1 parent d41e4ae commit 8a6a0cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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`:

Expand Down

0 comments on commit 8a6a0cc

Please sign in to comment.