X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch.c;fp=notmuch.c;h=82d6868118ea75a8d9a74f2b2c0336a868d0ba98;hp=8e697396af8b0649b6928912af303464727f1d87;hb=0ab0b48be2d76c2c9b5581c1b66b21934b2025b7;hpb=f994f0e7df178eb31c656329bb28ffa832ac4364 diff --git a/notmuch.c b/notmuch.c index 8e697396..82d68681 100644 --- a/notmuch.c +++ b/notmuch.c @@ -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." },