Skip to content

Commit

Permalink
notmuch-mutt: lookup notmuch-search-terms(7) when asked for help
Browse files Browse the repository at this point in the history
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
zacchiro authored and bremner committed May 29, 2012
1 parent d99f15d commit 981a87f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/notmuch-mutt/notmuch-mutt
Expand Up @@ -60,7 +60,7 @@ sub prompt($$) {
while (1) { while (1) {
chomp($query = $term->readline($text, $default)); chomp($query = $term->readline($text, $default));
if ($query eq "?") { if ($query eq "?") {
system("man", "notmuch"); system("man", "notmuch-search-terms");
} else { } else {
$term->WriteHistory($histfile); $term->WriteHistory($histfile);
return $query; return $query;
Expand Down

0 comments on commit 981a87f

Please sign in to comment.