summaryrefslogtreecommitdiffstats
path: root/notmuch.c
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2021-02-06 18:50:20 -0400
committerDavid Bremner <david@tethera.net>2021-03-19 22:06:19 -0300
commit6e6c319c260b779e6e91905f8c142ad2b82a41c9 (patch)
tree78752d1ed860263a616bf1fd446297ab07060c3d /notmuch.c
parenta9f74aeeb9ade477d5b80c1c2700945d6c50adb1 (diff)
CLI/show: complete conversion to new configuration framework.
In order to open the database in main() for this command, we may need to re-open it in the (possibly less common) case where crypto options require write access.
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 5e56209b..f2bf9c24 100644
--- a/notmuch.c
+++ b/notmuch.c
@@ -156,7 +156,7 @@ static command_t commands[] = {
"Search for messages matching the given search terms." },
{ "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", notmuch_show_command, NOTMUCH_COMMAND_DATABASE_EARLY,
"Show all messages matching the search terms." },
{ "count", notmuch_count_command, NOTMUCH_COMMAND_DATABASE_EARLY,
"Count messages matching the search terms." },