aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch.c
diff options
context:
space:
mode:
authorGravatar Ben Gamari <bgamari.foss@gmail.com>2013-10-02 16:30:47 -0400
committerGravatar David Bremner <bremner@debian.org>2013-10-09 21:47:13 -0300
commit241a88ce2f3c8d76b5a63a202d8455757c0e751e (patch)
tree641e7e78a7856e18b3fad4385cb407ffe4aca901 /notmuch.c
parent0bd11b654e048a2ba562137c76d51296808b1a5d (diff)
notmuch-compact: Initial commit of CLI
Introduce the user command exposing the new compaction facility. Signed-off-by: Ben Gamari <bgamari.foss@gmail.com>
Diffstat (limited to 'notmuch.c')
-rw-r--r--notmuch.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/notmuch.c b/notmuch.c
index 7300c214..8d303a14 100644
--- a/notmuch.c
+++ b/notmuch.c
@@ -60,6 +60,8 @@ static command_t commands[] = {
"Create a plain-text dump of the tags for each message." },
{ "restore", notmuch_restore_command, FALSE,
"Restore the tags from the given dump file (see 'dump')." },
+ { "compact", notmuch_compact_command, FALSE,
+ "Compact the notmuch database." },
{ "config", notmuch_config_command, FALSE,
"Get or set settings in the notmuch configuration file." },
{ "help", notmuch_help_command, TRUE, /* create but don't save config */