mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 17:34:54 +01:00
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.
This commit is contained in:
parent
1abc338331
commit
8b5644e63d
1 changed files with 0 additions and 4 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue