aboutsummaryrefslogtreecommitdiff
path: root/mling
diff options
context:
space:
mode:
Diffstat (limited to 'mling')
-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 87ba4f0..705c6b4 100644
--- a/mling/src/cli.rs
+++ b/mling/src/cli.rs
@@ -3,7 +3,7 @@ use mingling::{
setup::{BasicProgramSetup, GeneralRendererSetup},
};
-use crate::{CMDCompletion, DispatcherNotFound, ThisProgram, display::markdown};
+use crate::{CMDCompletion, ErrorDispatcherNotFound, ThisProgram, display::markdown};
pub mod list;
pub use list::*;
@@ -66,7 +66,7 @@ pub fn cli_entry() {
}
#[renderer]
-pub(crate) fn fallback_disp(prev: DispatcherNotFound) {
+pub(crate) fn fallback_disp(prev: ErrorDispatcherNotFound) {
r_println!("Error: command \"{}\" not found!", prev.join(" "));
r_println!("Use \"mling --help\" for more information.");
}