aboutsummaryrefslogtreecommitdiff
path: root/examples/example-repl-basic
diff options
context:
space:
mode:
Diffstat (limited to 'examples/example-repl-basic')
-rw-r--r--examples/example-repl-basic/src/main.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/example-repl-basic/src/main.rs b/examples/example-repl-basic/src/main.rs
index dc3d2fe..325619e 100644
--- a/examples/example-repl-basic/src/main.rs
+++ b/examples/example-repl-basic/src/main.rs
@@ -73,10 +73,10 @@ fn main() {
pack!(ErrorDirectoryNotExist = PathBuf);
// Create commands: cd ls exit
-dispatcher!("cd", CMDCd => EntryCd);
-dispatcher!("ls", CMDLs => EntryLs);
-dispatcher!("exit", CMDExit => EntryExit);
-dispatcher!("clear", CMDClear => EntryClear);
+dispatcher!("cd", EntryCd);
+dispatcher!("ls", EntryLs);
+dispatcher!("exit", EntryExit);
+dispatcher!("clear", EntryClear);
// Define data needed for the cd command's execution phase
pack!(StateChangeDirectory = String);