From 3ae5838230a3aa381252f5873b3c96532fde3143 Mon Sep 17 00:00:00 2001
From: Nicolas Werner <nicolas.werner@hotmail.de>
Date: Sat, 21 Oct 2023 19:45:00 +0200
Subject: Add a way to compact the database

Can also be used to fix some corruption.
---
 man/nheko.1.adoc | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'man/nheko.1.adoc')

diff --git a/man/nheko.1.adoc b/man/nheko.1.adoc
index 8327a061..cc4b8f74 100644
--- a/man/nheko.1.adoc
+++ b/man/nheko.1.adoc
@@ -58,6 +58,10 @@ Creates a unique profile, which allows you to log into several accounts at the
 same time and start multiple instances of nheko. Use _default_ to start with the
 default profile.
 
+*-C*, *--compact*::
+Allows shrinking the database, since LMDB databases don't automatically shrink
+when data is deleted. Possibly allows some recovery on database corruption.
+
 == FAQ
 
 === How do I add stickers and custom emojis?
-- 
cgit 1.5.1

