]> git.notmuchmail.org Git - notmuch/blobdiff - contrib/notmuch-mutt/notmuch-mutt
notmuch-mutt: Fix tagging issues
[notmuch] / contrib / notmuch-mutt / notmuch-mutt
index c69b35c98651115e0f42dea17d70641752f51ef9..4969e4be64c3f29140e25b97ee137947058cd8ca 100755 (executable)
@@ -113,9 +113,7 @@ sub tag_action(@) {
     my $mid = get_message_id();
     defined $mid or die "notmuch-mutt: cannot find Message-Id, abort.\n";
 
-    system("notmuch tag "
-          . shell_quote(join(' ', @_))
-          . " id:$mid");
+    system("notmuch", "tag", @_, "--", "id:$mid");
 }
 
 sub die_usage() {