about summary refs log tree commit diff
path: root/man
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2018-02-27 15:14:29 +0100
committerLeah Neukirchen <leah@vuxu.org>2018-02-27 15:14:29 +0100
commitc49c0b4a56f110c4f0782cb4c541be589e1c45a1 (patch)
tree099bbae3cb74abd2a82c4d08fc8612cfa2ad4199 /man
parent4b9e7f5952c8ecd9e1c10eb8559f69dafb7ad86a (diff)
downloadmblaze-c49c0b4a56f110c4f0782cb4c541be589e1c45a1.tar.gz
mblaze-c49c0b4a56f110c4f0782cb4c541be589e1c45a1.tar.xz
mblaze-c49c0b4a56f110c4f0782cb4c541be589e1c45a1.zip
mcom: revamp argument parsing, allow setting arbitrary headers from command line
Diffstat (limited to 'man')
-rw-r--r--man/mcom.128
1 files changed, 28 insertions, 0 deletions
diff --git a/man/mcom.1 b/man/mcom.1
index d4b9267..17fd814 100644
--- a/man/mcom.1
+++ b/man/mcom.1
@@ -9,15 +9,19 @@
 .Nd compose, reply, forward, bounce, send messages
 .Sh SYNOPSIS
 .Nm mcom
+.Op Fl Ar header Ar values\ ...
 .Op Ar recipients\ ...
 .Nm mcom
 .Fl r Op draft
 .Nm mrep
+.Op Fl Ar header Ar values\ ... Fl -
 .Ar msg
 .Nm mfwd
 .Op Fl r
+.Op Fl Ar header Ar values\ ... Fl -
 .Op Ar msgs\ ...
 .Nm mbnc
+.Op Fl Ar header Ar values\ ... Fl -
 .Ar msg
 .Sh DESCRIPTION
 .Nm mcom
@@ -56,6 +60,30 @@ See
 .Xr mmsg 7
 for the message argument syntax.
 .Pc
+.Pp
+All commands can take optional
+.Ar header
+flags
+.Pq which consist of two or more characters
+to prefill header fields,
+e.g. you can use
+.Sq Nm mcom Fl to No merrilyn Fl cc No elea becci Fl subject No 'Party invite'
+to create a draft with the To, Cc and Subject fields already set.
+Note that these flags apply to
+.Em all
+arguments after them
+.Po e.g.
+.Sq mcom Fl attach No *.c
+works
+.Pc ,
+so you
+need to use
+.Sq Fl -
+when you want to use this feature together with
+.Nm mrep ,
+.Nm mfwd ,
+or
+.Nm mbnc .
 .Sh MENU COMMANDS
 .Bl -tag -width 2n
 .It Ic s