summary refs log tree commit diff
path: root/man
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2017-06-19 13:24:49 +0200
committerLeah Neukirchen <leah@vuxu.org>2017-06-19 13:24:49 +0200
commitcc7ab258141f91e49d66cde589f26e2e94d9e516 (patch)
treee341b5865bb7a3572181130f69a59a746e5bb403 /man
parent9b8ab19a2be4ed190f722b309022ea6472e7ac15 (diff)
downloadmblaze-cc7ab258141f91e49d66cde589f26e2e94d9e516.tar.gz
mblaze-cc7ab258141f91e49d66cde589f26e2e94d9e516.tar.xz
mblaze-cc7ab258141f91e49d66cde589f26e2e94d9e516.zip
mmime: allow setting content-disposition and overriding filename
Diffstat (limited to 'man')
-rw-r--r--man/mmime.112
1 files changed, 9 insertions, 3 deletions
diff --git a/man/mmime.1 b/man/mmime.1
index c772166..abca61d 100644
--- a/man/mmime.1
+++ b/man/mmime.1
@@ -21,12 +21,18 @@ mail from standard input,
 extending, wrapping, and encoding the header as neccessary,
 and replacing body lines looking like
 .Pp
-.D1 Li # Ns Ar type Pa filename
+.D1 Li # Ns Ar content Ns Li / Ns Ar type Ns Oo Ns Li # Ns Ar content-disposition Oc Pa path Ns Oo Li > Ns Ar filename Oc
 .Pp
 with a MIME part having Content-Type
-.Ar type
+.Ar content/type
 consisting of the contents of
-.Pa filename .
+.Pa path .
+.Ar content-disposition
+is optional and defaults to
+.Sq attachment .
+.Ar filename
+is optional and defaults to the basename of
+.Ar path .
 .Pp
 The options are as follows:
 .Bl -tag -width Ds