diff options
| author | David Bremner <david@tethera.net> | 2020-10-05 20:35:26 -0300 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2021-02-06 19:19:18 -0400 |
| commit | 0ab0b48be2d76c2c9b5581c1b66b21934b2025b7 (patch) | |
| tree | 88e1d56cddb7300ce6861a76525d98bb2d1068d8 /notmuch.c | |
| parent | f994f0e7df178eb31c656329bb28ffa832ac4364 (diff) | |
cli/reindex: convert new config framework
The only non-trivial part is switching the talloc context for
query_string_from args from 'config' to 'notmuch'.
Diffstat (limited to 'notmuch.c')
| -rw-r--r-- | notmuch.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -165,7 +165,7 @@ static command_t commands[] = { "Restore the tags from the given dump file (see 'dump')." }, { "compact", notmuch_compact_command, NOTMUCH_COMMAND_CONFIG_OPEN, "Compact the notmuch database." }, - { "reindex", notmuch_reindex_command, NOTMUCH_COMMAND_CONFIG_OPEN, + { "reindex", notmuch_reindex_command, NOTMUCH_COMMAND_DATABASE_EARLY | NOTMUCH_COMMAND_DATABASE_WRITE, "Re-index all messages matching the search terms." }, { "config", notmuch_config_command, NOTMUCH_COMMAND_CONFIG_OPEN, "Get or set settings in the notmuch configuration file." }, |
