From e4cb6eb22b659c1f745e5fecc693aee5896739d9 Mon Sep 17 00:00:00 2001 From: juk0de Date: Sun, 1 Oct 2023 09:27:40 +0200 Subject: [PATCH] README: updated 'hist' command description --- README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 223ea85..4fb1d08 100644 --- a/README.md +++ b/README.md @@ -68,20 +68,22 @@ cmm question [-t OTAGS]... [-k ATAGS]... [-x XTAGS]... [-o OUTTAGS]... [-A AI_ID #### Hist -The `hist` command is used to print the chat history. +The `hist` command is used to print and manage the chat history. ```bash -cmm hist [-t OTAGS]... [-k ATAGS]... [-x XTAGS]... [-w] [-W] [-S] [-A SUBSTRING] [-Q SUBSTRING] +cmm hist [--print | --convert FORMAT] [-t OTAGS]... [-k ATAGS]... [-x XTAGS]... [-w] [-W] [-S] [-A SUBSTRING] [-Q SUBSTRING] ``` +* `-p, --print`: Print the DB chat history +* `-c, --convert FORMAT`: Convert all messages to the given format * `-t, --or-tags OTAGS`: List of tags (one must match) * `-k, --and-tags ATAGS`: List of tags (all must match) * `-x, --exclude-tags XTAGS`: List of tags to exclude * `-w, --with-tags`: Print chat history with tags * `-W, --with-files`: Print chat history with filenames * `-S, --source-code-only`: Only print embedded source code -* `-A, --answer SUBSTRING`: Search for answer substring -* `-Q, --question SUBSTRING`: Search for question substring +* `-A, --answer SUBSTRING`: Filter for answer substring +* `-Q, --question SUBSTRING`: Filter for question substring #### Tags