]> git.cworth.org Git - notmuch/blobdiff - contrib/notmuch-mutt/notmuch-mutt
notmuch-mutt: fix helper invocation for the tag action
[notmuch] / contrib / notmuch-mutt / notmuch-mutt
index 9176ed514a3855bef157b3476016d048b3661bbc..7c125e6ede42081c29b73a13a167023133bf5564 100755 (executable)
@@ -60,7 +60,7 @@ sub prompt($$) {
     while (1) {
        chomp($query = $term->readline($text, $default));
        if ($query eq "?") {
-           system("man", "notmuch");
+           system("man", "notmuch-search-terms");
        } else {
            $term->WriteHistory($histfile);
            return $query;
@@ -169,7 +169,7 @@ notmuch-mutt - notmuch (of a) helper for Mutt
 =head1 DESCRIPTION
 
 notmuch-mutt is a frontend to the notmuch mail indexer capable of populating
-maildir with search results.
+maildir with search results.
 
 =head1 OPTIONS
 
@@ -211,7 +211,7 @@ F</etc/Muttrc>, or a configuration snippet under F</etc/Muttrc.d/>):
           "<enter-command>unset wait_key<enter><pipe-message>notmuch-mutt thread<enter><change-folder-readonly>~/.cache/notmuch/mutt/results<enter><enter-command>set wait_key<enter>" \
           "notmuch: reconstruct thread"
     macro index <F6> \
-          "<enter-command>unset wait_key<enter><pipe-message>notmuch-mutt tag -inbox<enter>" \
+          "<enter-command>unset wait_key<enter><pipe-message>notmuch-mutt tag -- -inbox<enter>" \
           "notmuch: remove message from inbox"
 
 The first macro (activated by <F8>) prompts the user for notmuch search terms