summaryrefslogtreecommitdiffstats
path: root/notmuch.c
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2020-12-07 19:48:48 -0400
committerDavid Bremner <david@tethera.net>2021-02-06 19:30:20 -0400
commitc56dcea7e2da91ada6b6aa737ec115ef4bc91ba6 (patch)
treef741ef3afd7ac858e0dfd89a0fea43208eb76bc0 /notmuch.c
parent6c28039ebba0a363320e9b7d194b86b53703015f (diff)
cli/tag: convert to new config framework.
In addition to changing configuration access, change talloc context for allocation.
Diffstat (limited to 'notmuch.c')
-rw-r--r--notmuch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/notmuch.c b/notmuch.c
index 16504fc5..913fd312 100644
--- a/notmuch.c
+++ b/notmuch.c
@@ -157,7 +157,7 @@ static command_t commands[] = {
"Count messages matching the search terms." },
{ "reply", notmuch_reply_command, NOTMUCH_COMMAND_DATABASE_EARLY,
"Construct a reply template for a set of messages." },
- { "tag", notmuch_tag_command, NOTMUCH_COMMAND_CONFIG_OPEN,
+ { "tag", notmuch_tag_command, NOTMUCH_COMMAND_DATABASE_EARLY | NOTMUCH_COMMAND_DATABASE_WRITE,
"Add/remove tags for all messages matching the search terms." },
{ "dump", notmuch_dump_command, NOTMUCH_COMMAND_DATABASE_EARLY | NOTMUCH_COMMAND_DATABASE_WRITE,
"Create a plain-text dump of the tags for each message." },