diff options
author | Daniel Schoepe <daniel@schoepe.org> | 2015-08-11 09:46:37 +0200 |
---|---|---|
committer | David Bremner <david@tethera.net> | 2015-11-19 07:50:58 -0400 |
commit | 8b5644e63d49a8841d32130d67c465da0623db74 (patch) | |
tree | 3fb3f4fe9e54a3a793804701f3d5a421d381845f | |
parent | 1abc33833149f6c71850c1b6f4bdeca38c718023 (diff) |
cli: Allow combining --remove-all and --batch
This patch removes the restriction on notmuch-tag that disallows using
both --remove-all and --batch. Combining the two options removes tags
on all messages affected by each query before applying the new tags.
-rw-r--r-- | notmuch-tag.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/notmuch-tag.c b/notmuch-tag.c index c020cb6f..0d153282 100644 --- a/notmuch-tag.c +++ b/notmuch-tag.c @@ -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) { |