From ca6162a2c310b6eed648bd850de5da0552612c5b Mon Sep 17 00:00:00 2001 From: Matthieu Rakotojaona Date: Mon, 27 Feb 2023 15:33:13 +0100 Subject: [PATCH] mcom: Document how attachments work --- man/mcom.1 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/man/mcom.1 b/man/mcom.1 index 957c322..08592c7 100644 --- a/man/mcom.1 +++ b/man/mcom.1 @@ -130,6 +130,13 @@ Delete the draft and quit. Preview the draft, using .Xr mshow 1 . .El +.Sh ATTACHMENTS +From within the editor, attachments are added by setting an Attach: header with the path to the desired files. Multiple Attach: headers can be added. + +To add from the commandline, use +.Sq mcom Fl attach No path/to/file +and the header will be added automatically. +It is possible to use tilde (~) in the file path. .Sh ENVIRONMENT .Bl -tag -width Ds .It Ev EDITOR , Ev VISUAL