]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-tag.c
cli: add global option "--uuid"
[notmuch] / notmuch-tag.c
index 38d99aa9db0be0a40ee720b5776f0fa3ae7167f6..7ae98f6ca42056b0285255a4c1958b91932f2d2b 100644 (file)
@@ -261,6 +261,8 @@ notmuch_tag_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);
+
     if (notmuch_config_get_maildir_synchronize_flags (config))
        tag_flags |= TAG_FLAG_MAILDIR_SYNC;