`:filter` was given twice in the "MESSAGE LIST COMMANDS" section of *aerc*(1),
both incomplete/wrong. Merge both to reference *aerc-search*(1) and say it
actually *filters* the message list.
References: https://todo.sr.ht/~rjarry/aerc/144
Signed-off-by: witcher <witcher@wiredspace.de>
Fixes: af63bd0188d13ecf00628c30f88d0ee06c07e500 ("doc: homogenize scdoc markup")
---
CHANGELOG.md | 2 ++
doc/aerc.1.scd | 8 ++------
2 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4081aa8..b36d45d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -32,6 +32,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
`signature-file` and `signature-cmd` if not already present.
- All `aerc(1)` commands now interpret `aerc-templates(7)` markup.
- running commands (like mailto: or mbox:) no longer prints a success message
+- `aerc(1)` now lists only one instance of `:filter` for the message list
+ commands section.
### Deprecated
diff --git a/doc/aerc.1.scd b/doc/aerc.1.scd
index 964c1d9..674535a 100644
--- a/doc/aerc.1.scd
+++ b/doc/aerc.1.scd
@@ -328,7 +328,8 @@ message list, the message in the message viewer, etc).
*:filter* [_<options>_] _<terms>_...
Similar to *:search*, but filters the displayed messages to only the search
- results. See the documentation for *:search* for more details.
+ results. The search syntax is dependent on the underlying backend.
+ Refer to *aerc-search*(1) for details
*:mkdir* _<name>_
Creates a new folder for this account and changes to that folder.
@@ -379,11 +380,6 @@ message list, the message in the message viewer, etc).
*:prev-result*
Selects the next or previous search result.
-*:filter* [_<options>_] _<terms>_...
- Searches the current folder.
- The search syntax is dependent on the underlying backend.
- Refer to *aerc-search*(1) for details
-
*:select* _<n>_++
*:select-message* _<n>_
Selects the _<n>_\th message in the message list (and scrolls it into
--
2.39.2