]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-tag.c
cli: Allow combining --remove-all and --batch
[notmuch] / notmuch-tag.c
index c020cb6f40b8ad3677aac9fa6104ef3d4aba78b6..0d1532826a2e81999ba833d4b18fa800fc060d81 100644 (file)
@@ -237,10 +237,6 @@ notmuch_tag_command (notmuch_config_t *config, int argc, char *argv[])
            fprintf (stderr, "Can't specify both cmdline and stdin!\n");
            return EXIT_FAILURE;
        }
-       if (remove_all) {
-           fprintf (stderr, "Can't specify both --remove-all and --batch\n");
-           return EXIT_FAILURE;
-       }
     } else {
        tag_ops = tag_op_list_create (config);
        if (tag_ops == NULL) {