aboutsummaryrefslogtreecommitdiff
path: root/examples/example-dispatch-tree/src
diff options
context:
space:
mode:
Diffstat (limited to 'examples/example-dispatch-tree/src')
-rw-r--r--examples/example-dispatch-tree/src/main.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/example-dispatch-tree/src/main.rs b/examples/example-dispatch-tree/src/main.rs
index 08714d1..e087b1e 100644
--- a/examples/example-dispatch-tree/src/main.rs
+++ b/examples/example-dispatch-tree/src/main.rs
@@ -48,9 +48,10 @@ fn main() {
// // it'll be collected automatically once the `dispatch_tree` feature is enabled
// program.with_dispatcher(...);
- program.exec_and_exit()
+ program.exec_and_exit();
}
+/// Renders the confirmation message for the `cmd5` command.
#[renderer]
fn render_cmd5(_: Entry5) {
r_println!("It's works!");