summaryrefslogtreecommitdiffstats
path: root/notmuch-client.h
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2021-01-02 13:10:39 -0400
committerDavid Bremner <david@tethera.net>2021-02-06 19:52:11 -0400
commit0d3bef312dd624225825e6fe175ea8830c1c9e39 (patch)
tree3c9fdf207c504eec56f47e98ca3851b15f119307 /notmuch-client.h
parent5ef731f1aa0aa3d8fc89d1e724c021dbed8d4418 (diff)
cli/new: convert to new config framework
In addition to the same type of changes as converting other subcommands, add the possibility of creating a database at the top level. It would probably make sense to use this for insert as well.
Diffstat (limited to 'notmuch-client.h')
-rw-r--r--notmuch-client.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/notmuch-client.h b/notmuch-client.h
index a026002a..9e09c36a 100644
--- a/notmuch-client.h
+++ b/notmuch-client.h
@@ -257,6 +257,7 @@ typedef enum {
NOTMUCH_COMMAND_CONFIG_CREATE = 1 << 1,
NOTMUCH_COMMAND_DATABASE_EARLY = 1 << 2,
NOTMUCH_COMMAND_DATABASE_WRITE = 1 << 3,
+ NOTMUCH_COMMAND_DATABASE_CREATE = 1 << 4,
} notmuch_command_mode_t;
notmuch_config_t *