mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-25 04:18:08 +01:00
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)
This commit is contained in:
parent
d99f15d7ee
commit
981a87f735
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue