]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-tag.c
CLI: make variable n_requested_db_uuid file scope.
[notmuch] / notmuch-tag.c
index de428c8e9d99b902701a296a577cba87cb00c99c..aa8860326a9a69eb4e77d97d294aed715d4dab99 100644 (file)
@@ -220,7 +220,7 @@ notmuch_tag_command (notmuch_database_t *notmuch, int argc, char *argv[])
     if (opt_index < 0)
        return EXIT_FAILURE;
 
-    notmuch_process_shared_options (argv[0]);
+    notmuch_process_shared_options (notmuch, argv[0]);
 
     if (input_file_name) {
        batch = true;
@@ -261,8 +261,6 @@ notmuch_tag_command (notmuch_database_t *notmuch, int argc, char *argv[])
        }
     }
 
-    notmuch_exit_if_unmatched_db_uuid (notmuch);
-
     if (print_status_database (
            "notmuch restore",
            notmuch,