diff --git a/examples/repl/cmdline.rs b/examples/repl/cmdline.rs index 0e72396d1..cc5baf4e3 100644 --- a/examples/repl/cmdline.rs +++ b/examples/repl/cmdline.rs @@ -1192,6 +1192,7 @@ pub unsafe fn dc_cmdline(context: &Context, line: &str) -> Result<(), failure::E bail!("Command failed."); } } + "" => (), _ => bail!("Unknown command: \"{}\" type ? for help.", arg0), }