diff --git a/docs/src/main/asciidoc/command-mode-reference.adoc b/docs/src/main/asciidoc/command-mode-reference.adoc index 7633b1164438a..5105520ea870c 100644 --- a/docs/src/main/asciidoc/command-mode-reference.adoc +++ b/docs/src/main/asciidoc/command-mode-reference.adoc @@ -54,7 +54,7 @@ import io.quarkus.runtime.annotations.QuarkusMain; public class HelloWorldMain implements QuarkusApplication { @Override public int run(String... args) throws Exception { // <.> - System.out.println("Hello " + args[1]); + System.out.println("Hello " + args[0]); return 0; } }