]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-restore.c
cli: add global option "--uuid"
[notmuch] / notmuch-restore.c
index 2a534dc4544886febb16a246c2caf8d60245baf0..9abc64fdd89e6ae7c61e84bc3d3f7f269e72c8de 100644 (file)
@@ -165,6 +165,8 @@ notmuch_restore_command (notmuch_config_t *config, int argc, char *argv[])
     }
 
     notmuch_process_shared_options (argv[0]);
+    notmuch_exit_if_unmatched_db_uuid (notmuch);
+
     name_for_error = input_file_name ? input_file_name : "stdin";
 
     if (! accumulate)