Skip to content

Commit

Permalink
fix command
Browse files Browse the repository at this point in the history
fixed example in command-mode-reference.adoc
  • Loading branch information
marcozanghi committed Apr 30, 2023
1 parent 9380d09 commit 8bfb436
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/main/asciidoc/command-mode-reference.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 8bfb436

Please sign in to comment.