diff options
| author | David Bremner <david@tethera.net> | 2020-10-05 20:28:29 -0300 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2021-02-06 19:15:53 -0400 |
| commit | 66adcd4f538d426205fd09b0f97b63c74e9e82d7 (patch) | |
| tree | be7d2376f6fd6b7533d4760c35b2c239c8574110 /notmuch.c | |
| parent | a4af7a2a1b56efb11f2ed0c365202a8f234b4438 (diff) | |
CLI/restore: convert to new config framework
Switch one configuration check to new n_c_get_bool function, and
switch use of config as talloc context to notmuch.
Diffstat (limited to 'notmuch.c')
| -rw-r--r-- | notmuch.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -161,7 +161,7 @@ static command_t commands[] = { "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." }, - { "restore", notmuch_restore_command, NOTMUCH_COMMAND_CONFIG_OPEN, + { "restore", notmuch_restore_command, NOTMUCH_COMMAND_DATABASE_EARLY | NOTMUCH_COMMAND_DATABASE_WRITE, "Restore the tags from the given dump file (see 'dump')." }, { "compact", notmuch_compact_command, NOTMUCH_COMMAND_CONFIG_OPEN, "Compact the notmuch database." }, |
