projects
/
notmuch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d99f15d
)
notmuch-mutt: lookup notmuch-search-terms(7) when asked for help
author
Stefano Zacchiroli
<zack@upsilon.cc>
Tue, 29 May 2012 20:44:27 +0000
(22:44 +0200)
committer
David Bremner
<bremner@debian.org>
Tue, 29 May 2012 21:18:07 +0000
(18:18 -0300)
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)
contrib/notmuch-mutt/notmuch-mutt
patch
|
blob
|
history
diff --git
a/contrib/notmuch-mutt/notmuch-mutt
b/contrib/notmuch-mutt/notmuch-mutt
index 71206c35269be8d221bbb038f4a00fa0cff26102..fee165d6604f7162172908d7d7c6869df8ba21a3 100755
(executable)
--- 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;