From: Stefano Zacchiroli Date: Tue, 29 May 2012 20:44:27 +0000 (+0200) Subject: notmuch-mutt: lookup notmuch-search-terms(7) when asked for help X-Git-Tag: 0.14~106 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=981a87f73527ec420361b1b156d763c5357af299;hp=d99f15d7ee38d606a2b3b5bd34f1e6c787b3b8a2 notmuch-mutt: lookup notmuch-search-terms(7) when asked for help When asked for interactive help, lookup notmuch-search-terms(7) instead of notmuch(1). Syntax of notmuch queries used to be described in the latter, but has recently been moved to the former. Closes: #675073 (in the Debian BTS) --- diff --git a/contrib/notmuch-mutt/notmuch-mutt b/contrib/notmuch-mutt/notmuch-mutt index 71206c35..fee165d6 100755 --- a/contrib/notmuch-mutt/notmuch-mutt +++ b/contrib/notmuch-mutt/notmuch-mutt @@ -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;