Merge pull request #237 from KAction/repl__do_not_treat_empty_string_as_command_

repl: do not treat empty string as command
This commit is contained in:
Friedel Ziegelmayer
2019-07-27 12:31:30 +02:00
committed by GitHub

View File

@@ -1203,6 +1203,7 @@ pub unsafe fn dc_cmdline(context: &Context, line: &str) -> Result<(), failure::E
bail!("Command failed.");
}
}
"" => (),
_ => bail!("Unknown command: \"{}\" type ? for help.", arg0),
}