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