From 0a134e2dede745dc6e5bf33cafdcfa12118c5329 Mon Sep 17 00:00:00 2001 From: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com> Date: Thu, 19 May 2022 06:18:38 +0100 Subject: [PATCH] terminal: update chat help (#666) --- src/Simplex/Chat/Help.hs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/Simplex/Chat/Help.hs b/src/Simplex/Chat/Help.hs index 7725a7341e..6b63cfb940 100644 --- a/src/Simplex/Chat/Help.hs +++ b/src/Simplex/Chat/Help.hs @@ -83,7 +83,7 @@ chatHelpInfo = green "Create your address: " <> highlight "/address", "", green "Other commands:", - indent <> highlight "/help " <> " - help on: messages, files, groups, address", + indent <> highlight "/help " <> " - help on: " <> listHighlight ["messages", "files", "groups", "address"], indent <> highlight "/profile " <> " - show / update user profile", indent <> highlight "/delete " <> " - delete contact and all messages with them", indent <> highlight "/contacts " <> " - list contacts", @@ -147,7 +147,12 @@ messagesHelpInfo :: [StyledString] messagesHelpInfo = map styleMarkdown - [ green "Sending replies to messages", + [ green "Show recent messages", + indent <> highlight "/tail @alice [N]" <> " - the last N messages with alice (10 by default)", + indent <> highlight "/tail #team [N] " <> " - the last N messages in the group team", + indent <> highlight "/tail [N] " <> " - the last N messages in all chats", + "", + green "Sending replies to messages", "To quote a message that starts with \"hi\":", indent <> highlight "> @alice (hi) " <> " - to reply to alice's most recent message", indent <> highlight ">> @alice (hi) " <> " - to quote user's most recent message to alice",