]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-dump.c
cli: add global option "--uuid"
[notmuch] / notmuch-dump.c
index fab22bdd6bcfe7f1b0ca26e433001d49e416c4ab..24fc2f237ae5c83975ffaa587ec6b66f12955a64 100644 (file)
@@ -215,6 +215,8 @@ notmuch_dump_command (notmuch_config_t *config, int argc, char *argv[])
                               NOTMUCH_DATABASE_MODE_READ_WRITE, &notmuch))
        return EXIT_FAILURE;
 
+    notmuch_exit_if_unmatched_db_uuid (notmuch);
+
     char *output_file_name = NULL;
     int opt_index;