X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-tag.c;h=9c03754d58568a04f9a7971d2296ab014c19f054;hp=c020cb6f40b8ad3677aac9fa6104ef3d4aba78b6;hb=86cbd215eb67d7b996c977352a50e70c101cb641;hpb=33c8777a967ece2dd4bbda7e83a4e07c195abf51 diff --git a/notmuch-tag.c b/notmuch-tag.c index c020cb6f..9c03754d 100644 --- a/notmuch-tag.c +++ b/notmuch-tag.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program. If not, see http://www.gnu.org/licenses/ . + * along with this program. If not, see https://www.gnu.org/licenses/ . * * Author: Carl Worth */ @@ -121,7 +121,7 @@ tag_query (void *ctx, notmuch_database_t *notmuch, const char *query_string, /* tagging is not interested in any special sort order */ notmuch_query_set_sort (query, NOTMUCH_SORT_UNSORTED); - status = notmuch_query_search_messages_st (query, &messages); + status = notmuch_query_search_messages (query, &messages); if (print_status_query ("notmuch tag", query, status)) return status; @@ -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) {