]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-show.c
cli: add global option "--uuid"
[notmuch] / notmuch-show.c
index b80933ad3a00963e07047c56707863291d9e321e..6ef33085acb1060934940c6db55b5ef1b6764e34 100644 (file)
@@ -1213,6 +1213,8 @@ notmuch_show_command (notmuch_config_t *config, int argc, char *argv[])
                               NOTMUCH_DATABASE_MODE_READ_ONLY, &notmuch))
        return EXIT_FAILURE;
 
+    notmuch_exit_if_unmatched_db_uuid (notmuch);
+
     query = notmuch_query_create (notmuch, query_string);
     if (query == NULL) {
        fprintf (stderr, "Out of memory\n");