aboutsummaryrefslogtreecommitdiff
path: root/doc/aerc.1.scd
diff options
context:
space:
mode:
Diffstat (limited to 'doc/aerc.1.scd')
-rw-r--r--doc/aerc.1.scd5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/aerc.1.scd b/doc/aerc.1.scd
index 5b1d36f3..36b2f6bd 100644
--- a/doc/aerc.1.scd
+++ b/doc/aerc.1.scd
@@ -571,6 +571,7 @@ message list, the message in the message viewer, etc).
*:attach* _<path>_++
*:attach* *-m* [_<arg>_]
+*:attach* *-r* <name> <cmd>
Attaches the file at the given path to the email. The path can contain
globbing syntax described at https://godocs.io/path/filepath#Match.
@@ -578,6 +579,10 @@ message list, the message in the message viewer, etc).
Runs the *file-picker-cmd* to select files to be attached.
Requires an argument when *file-picker-cmd* contains the _%s_ verb.
+ *-r* <name> <cmd>
+ Runs the <cmd>, reads its output and attaches it as <name>. The
+ attachment MIME type is derived from the <name>'s extension.
+
*:attach-key*
Attaches the public key for the configured account to the email.