From 91c4fcaf8f884901113af6305ff12b283011efde Mon Sep 17 00:00:00 2001 From: luckydonald Date: Thu, 21 May 2015 18:30:51 +0200 Subject: [PATCH] More typos found in command help. That's what you get when using regexes... --- interface.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/interface.c b/interface.c index 7f9d8f6..4733d43 100644 --- a/interface.c +++ b/interface.c @@ -1326,7 +1326,7 @@ struct command commands[MAX_COMMANDS_SIZE] = { {"help", {ca_none}, do_help, "help\tPrints this help", NULL}, {"history", {ca_peer, ca_number | ca_optional, ca_number | ca_optional, ca_none}, do_history, "history [limit] [offset]\tPrints messages with this peer (most recent message lower). Also marks messages as read", NULL}, {"import_card", {ca_string, ca_none}, do_import_card, "import_card \tGets user by card and prints it name. You can then send messages to him as usual", NULL}, - {"import_chat_link", {ca_string, ca_none}, do_import_chat_link, "impoty_chat_link \tJoins to chat by link", NULL}, + {"import_chat_link", {ca_string, ca_none}, do_import_chat_link, "import_chat_link \tJoins to chat by link", NULL}, {"load_audio", {ca_number, ca_none}, do_load_audio, "load_audio \tDownloads file to downloads dirs. Prints file name after download end", NULL}, {"load_chat_photo", {ca_chat, ca_none}, do_load_user_photo, "load_chat_photo \tDownloads file to downloads dirs. Prints file name after download end", NULL}, {"load_document", {ca_number, ca_none}, do_load_document, "load_document \tDownloads file to downloads dirs. Prints file name after download end", NULL}, @@ -1343,7 +1343,7 @@ struct command commands[MAX_COMMANDS_SIZE] = { {"quit", {ca_none}, do_quit, "quit\tQuits immediately", NULL}, {"rename_chat", {ca_chat, ca_string_end, ca_none}, do_rename_chat, "rename_chat \tRenames chat", NULL}, {"rename_contact", {ca_user, ca_string, ca_string, ca_none}, do_rename_contact, "rename_contact \tRenames contact", NULL}, - {"reply", {ca_number, ca_string_end, ca_none}, do_reply, "msg \tSends text reply to message", NULL}, + {"reply", {ca_number, ca_string_end, ca_none}, do_reply, "reply \tSends text reply to message", NULL}, {"reply_audio", {ca_number, ca_file_name, ca_none}, do_send_audio, "reply_audio \tSends audio to peer", NULL}, {"reply_contact", {ca_number, ca_string, ca_string, ca_string, ca_none}, do_reply_contact, "reply_contact \tSends contact (not necessary telegram user)", NULL}, {"reply_document", {ca_number, ca_file_name, ca_none}, do_reply_document, "reply_document \tSends document to peer", NULL},