summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Elkins <me@sigpipe.org>2010-08-08 12:29:51 -0700
committerMichael Elkins <me@sigpipe.org>2010-08-08 12:29:51 -0700
commitc6dbd9fb05e45450279f382b3bd6658700a69cd2 (patch)
tree815fc5a879cf17fa4e46e3047ff529b1545acb84
parentdf537f9422ccbc0230a66f1664971f2c2bb2d673 (diff)
document support for mailto: URLs on the command line
closes #3400
-rw-r--r--doc/manual.xml.head16
-rw-r--r--doc/mutt.man4
2 files changed, 17 insertions, 3 deletions
diff --git a/doc/manual.xml.head b/doc/manual.xml.head
index 301a93a1..946a0043 100644
--- a/doc/manual.xml.head
+++ b/doc/manual.xml.head
@@ -8242,9 +8242,14 @@ To compose a new message
<arg choice="opt" rep="repeat"/>
--
</arg>
-<arg choice="plain" rep="repeat">
+<group choice="plain" rep="repeat">
+<arg choice="plain">
<replaceable>address</replaceable>
</arg>
+<arg choice="plain">
+<replaceable>mailto_url</replaceable>
+</arg>
+</group>
</cmdsynopsis>
<para>
@@ -8286,6 +8291,15 @@ The <literal>-a</literal> option must be last in the option list.
</para>
</note>
+<para>
+In addition to accepting a list of email addresses, Mutt also accepts a URL with
+the <literal>mailto:</literal> schema as specified in RFC2368. This is useful
+when configuring a web browser to launch Mutt when clicking on mailto links.
+</para>
+
+<screen>
+mutt mailto:some@one.org&amp;subject=test</screen>
+
</sect1>
<sect1 id="commands">
diff --git a/doc/mutt.man b/doc/mutt.man
index 8765a8de..8a5113c6 100644
--- a/doc/mutt.man
+++ b/doc/mutt.man
@@ -36,7 +36,7 @@ mutt \- The Mutt Mail User Agent
[\-b \fIaddr\fP]
[\-c \fIaddr\fP]
[\-a \fIfile\fP [...] \-\-]
-\fIaddr\fP [...]
+\fIaddr|mailto_url\fP [...]
.PP
.B mutt
[\-nx]
@@ -46,7 +46,7 @@ mutt \- The Mutt Mail User Agent
[\-b \fIaddr\fP]
[\-c \fIaddr\fP]
[\-a \fIfile\fP [...] \-\-]
-\fIaddr\fP [...]
+\fIaddr|mailto_url\fP [...]
< message
.PP
.B mutt