aboutsummaryrefslogtreecommitdiff
path: root/examples/full-todolist
diff options
context:
space:
mode:
Diffstat (limited to 'examples/full-todolist')
-rw-r--r--examples/full-todolist/src/main.rs7
1 files changed, 1 insertions, 6 deletions
diff --git a/examples/full-todolist/src/main.rs b/examples/full-todolist/src/main.rs
index 0748832..c0df1df 100644
--- a/examples/full-todolist/src/main.rs
+++ b/examples/full-todolist/src/main.rs
@@ -65,12 +65,7 @@ fn main() {
);
program.with_resource(ResProgramFlags { all });
- // Dispatchers
- program.with_dispatcher(CMDAdd);
- program.with_dispatcher(CMDComplete);
- program.with_dispatcher(CMDList);
- program.with_dispatcher(CMDClean);
-
+ // Execute
program.exec_and_exit();
}