Permalink
Browse files

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)
  • Loading branch information...
1 parent d99f15d commit 981a87f73527ec420361b1b156d763c5357af299 @zacchiro zacchiro committed with bremner May 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 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;

0 comments on commit 981a87f

Please sign in to comment.