aboutsummaryrefslogtreecommitdiff
path: root/examples/05_command_framework/src
diff options
context:
space:
mode:
Diffstat (limited to 'examples/05_command_framework/src')
-rw-r--r--examples/05_command_framework/src/main.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/05_command_framework/src/main.rs b/examples/05_command_framework/src/main.rs
index 647ea56..1f442c3 100644
--- a/examples/05_command_framework/src/main.rs
+++ b/examples/05_command_framework/src/main.rs
@@ -177,6 +177,9 @@ fn main() {
// This requires us to call commands in this group
// via `~emoji` (or `~e`) instead of just `~`.
.prefixes(vec!["emoji", "em"])
+ // Set a description to appear if a user wants to display a single group
+ // e.g. via help using the group-name or one of its prefixes.
+ .desc("A group with commands providing an emoji as response.")
// Sets a command that will be executed if only a group-prefix was passed.
.default_cmd(bird)
.command("cat", |c| c