aboutsummaryrefslogtreecommitdiff
path: root/examples/example-combine-pathf-metadata
diff options
context:
space:
mode:
Diffstat (limited to 'examples/example-combine-pathf-metadata')
-rw-r--r--examples/example-combine-pathf-metadata/src/main.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/examples/example-combine-pathf-metadata/src/main.rs b/examples/example-combine-pathf-metadata/src/main.rs
index a68eac5..894e235 100644
--- a/examples/example-combine-pathf-metadata/src/main.rs
+++ b/examples/example-combine-pathf-metadata/src/main.rs
@@ -24,10 +24,7 @@ mod sub;
use mingling::prelude::*;
fn main() {
- let mut program = ThisProgram::new();
- program.with_dispatcher(sub::CMDHello);
- program.with_dispatcher(sub::CMDDescription);
- program.exec_and_exit();
+ ThisProgram::new().exec_and_exit();
}
gen_program!();