diff --git a/deltachat-repl/src/cmdline.rs b/deltachat-repl/src/cmdline.rs index e7d7cbda4..92c6c7e91 100644 --- a/deltachat-repl/src/cmdline.rs +++ b/deltachat-repl/src/cmdline.rs @@ -324,7 +324,7 @@ pub async fn cmdline(context: Context, line: &str, chat_id: &mut ChatId) -> Resu send-backup\n\ receive-backup \n\ export-keys\n\ - import-keys\n\ + import-keys \n\ poke [|| ]\n\ reset \n\ stop\n\ @@ -352,12 +352,12 @@ pub async fn cmdline(context: Context, line: &str, chat_id: &mut ChatId) -> Resu chat [|0]\n\ createchat \n\ creategroup \n\ - createbroadcast\n\ + createbroadcast \n\ createprotected \n\ addmember \n\ removemember \n\ groupname \n\ - groupimage []\n\ + groupimage \n\ chatinfo\n\ sendlocations \n\ setlocation \n\ @@ -489,6 +489,7 @@ pub async fn cmdline(context: Context, line: &str, chat_id: &mut ChatId) -> Resu println!("Exported to {}.", dir.to_string_lossy()); } "import-keys" => { + ensure!(!arg1.is_empty(), "Argument missing."); imex(&context, ImexMode::ImportSelfKeys, arg1.as_ref(), None).await?; } "poke" => {