X-Git-Url: https://git.cworth.org/git?p=notmuch;a=blobdiff_plain;f=notmuch.c;h=16504fc599a25a4bf10527051653480540ee32cb;hp=95cd4ae5d56ea1735211f9772a405c8df4ffa4be;hb=d613d10ddd5948b4fa5a186fc54752047b25023d;hpb=8588719eb1bb14367464214f304b6f93452124c7 diff --git a/notmuch.c b/notmuch.c index 95cd4ae5..16504fc5 100644 --- a/notmuch.c +++ b/notmuch.c @@ -147,9 +147,9 @@ static command_t commands[] = { "Find and import new messages to the notmuch database." }, { "insert", notmuch_insert_command, NOTMUCH_COMMAND_DATABASE_EARLY | NOTMUCH_COMMAND_DATABASE_WRITE, "Add a new message into the maildir and notmuch database." }, - { "search", notmuch_search_command, NOTMUCH_COMMAND_CONFIG_OPEN, + { "search", notmuch_search_command, NOTMUCH_COMMAND_DATABASE_EARLY, "Search for messages matching the given search terms." }, - { "address", notmuch_address_command, NOTMUCH_COMMAND_CONFIG_OPEN, + { "address", notmuch_address_command, NOTMUCH_COMMAND_DATABASE_EARLY, "Get addresses from messages matching the given search terms." }, { "show", notmuch_show_command, NOTMUCH_COMMAND_CONFIG_OPEN, "Show all messages matching the search terms." },