From 548577273797808e8a302f49b9092a80f2fb8cb7 Mon Sep 17 00:00:00 2001
From: Kubat <mael.martin31@gmail.com>
Date: Wed, 17 Nov 2021 14:39:00 +0100
Subject: [PATCH] DOC: Update the change log to add the possible argument for
 the update command

---
 CHANGELOG.md    | 1 +
 CONTRIBUTING.md | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index dcf48b4e..c5d12ba9 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,7 @@
 - Add: hook to automatically upgrade the database scheme if needed
 - Add: multi-add IDs, create a list with stb_ds and add its content in the queue, the adds are batched 10 per 10. When adding multiple times the same kara ID, it is only added once
 - Add: dry-update command to only refresh the available kara in Kurisu and don't download them
+- Add: the update command can take a query as an argument to only update parts of the database
 - Fix: fix issue #100 -> the `database_queue_add_id` won't add ids that doesn't exist
 - Fix: be explicit about truncated commands, when a command is truncated, all the bytes after the end of the new string and before the end of the old string are not set to '\0' for safety
 - Fix: no segv on exit because disconnect client '0', no client '0', the first client is '1'
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 2bcb0f8b..69da4ccb 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -214,7 +214,7 @@ For the compatibility column, the possible values are the following:
 | `lsinfo [uri]`                                        | `lsinfo {uri}`                        | -             | alias to `find`                                                               |
 | `search {filt} [sort {type}] [window {start:end}]`    | `search {uri}`                        | -             | is an alias to `find`                                                         |
 | `searchadd {filt} [sort {type}] [window {start:end}]` | `searchadd {uri}`                     | -             | is an alias to `findadd`                                                      |
-| `update [uri]`                                        | `update`                              | ~             | doesn't take URIs                                                             |
+| `update [uri]`                                        | `update [uri]`                        | ~             | take lektor URIs                                                              |
 | `rescan [uri]`                                        | `rescan`                              | ~             | doesn't take URIs                                                             |
 | `close`                                               | `close`                               | +             | send the `OK` status before closing the socket                                |
 | `kill`                                                | `kill`                                | +             |                                                                               |
-- 
GitLab