We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae124b9 commit 4d5215dCopy full SHA for 4d5215d
README.md
@@ -42,7 +42,7 @@ robust solution with a clean, idiomatic API.
42
```java
43
@Command("greet user")
44
@Description("Sends a greeting message")
45
-public void greet(CommandActor actor, @Optional("World") String name) {
+public void greet(CommandActor actor, @Default("World") String name) {
46
actor.reply("Hello, " + name + "!");
47
}
48
```
0 commit comments