aboutsummaryrefslogtreecommitdiff
path: root/mling/src/cli.rs
diff options
context:
space:
mode:
Diffstat (limited to 'mling/src/cli.rs')
-rw-r--r--mling/src/cli.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/mling/src/cli.rs b/mling/src/cli.rs
index 055f69c..87ba4f0 100644
--- a/mling/src/cli.rs
+++ b/mling/src/cli.rs
@@ -3,7 +3,7 @@ use mingling::{
setup::{BasicProgramSetup, GeneralRendererSetup},
};
-use crate::{CompletionDispatcher, DispatcherNotFound, ThisProgram, display::markdown};
+use crate::{CMDCompletion, DispatcherNotFound, ThisProgram, display::markdown};
pub mod list;
pub use list::*;
@@ -23,7 +23,7 @@ pub fn cli_entry() {
// Plugins
program.with_setup(BasicProgramSetup);
program.with_setup(GeneralRendererSetup);
- program.with_dispatcher(CompletionDispatcher);
+ program.with_dispatcher(CMDCompletion);
if program.pick_global_flag(["-v", "--version"]) {
println!("{}", include_str!("../res/version.txt").trim_end());