From 12aa444fd496eb6a6174f9623c2e9ff6d3e9487b Mon Sep 17 00:00:00 2001 From: Foivos Zakkak Date: Fri, 28 Oct 2022 15:01:14 +0300 Subject: [PATCH] Docs: Fix typo in native image reference manual Closes: #5315 --- docs/reference-manual/java-on-truffle/README.md | 2 +- docs/reference-manual/native-image/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/reference-manual/java-on-truffle/README.md b/docs/reference-manual/java-on-truffle/README.md index 38542f79b1ea..0b5772ba050e 100644 --- a/docs/reference-manual/java-on-truffle/README.md +++ b/docs/reference-manual/java-on-truffle/README.md @@ -57,7 +57,7 @@ java -truffle [options] class ``` To execute a JAR file: ```shell -java -truffle [options] --jar jarfile +java -truffle [options] -jar jarfile ``` Using Java 11 based GraalVM distribution, you can also run a Java application from the main class in a module, or run a single source-file program: diff --git a/docs/reference-manual/native-image/README.md b/docs/reference-manual/native-image/README.md index 1b3ff9939d5e..2ef9227ff488 100644 --- a/docs/reference-manual/native-image/README.md +++ b/docs/reference-manual/native-image/README.md @@ -195,7 +195,7 @@ native-image [options] -jar jarfile [imagename] 4. Create a native executable: ``` - native-image --jar App.jar + native-image -jar App.jar ``` It will produce a native executable in the project root directory. 5. Run the native executable: