Replaced mhmail -debug switch with -nosend, and added -send.
[mmh] / man / mhmail.man
index c1c8149..6bbd8ae 100644 (file)
@@ -19,6 +19,7 @@ mhmail \- send or read mail
 .IR addr ]
 .RB [ \-subject
 .IR subject ]
+.RB [ \-resent ]
 [switches\ for
 .I post
 \&... |
@@ -26,9 +27,9 @@ mhmail \- send or read mail
 [switches\ for
 .I send
 \&...]]
+.RB [ \-send " | " \-nosend ]
 .RB [ \-version ]
 .RB [ \-help ]
-.RB [ \-debug ]
 .ad
 .SH DESCRIPTION
 .B mhmail
@@ -67,21 +68,20 @@ name of the temporary file as its argument to deliver the message to
 the specified user.
 .PP
 The
-.B \-profile
-switch instructs
-.B mhmail
-to use
-.B send
-instead of
-.B post
-to send the message.  This allows use of the user's context and aliases.
-.PP
-The
 .B \-subject
 .I subject
 switch can be used to specify the
 \*(lqSubject:\*(rq field of the message.
 .PP
+The
+.B \-resent
+switch indicates that the message body is a fully formed message that
+will be resent, as
+.B dist
+would do.  For example:
+.PP
+    mhmail u2@example.com -resent < `mhpath cur`
+.PP
 By default,
 .B mhmail
 will read the message to be sent from the
@@ -117,10 +117,24 @@ will fill\-in the \*(lqSender:\*(rq
 header correctly.
 .PP
 The
-.B \-debug
-option shows the draft file that would be posted/sent and the command
-that would be used to post/send the draft, but does not post or send
-it.
+.B \-profile
+switch instructs
+.B mhmail
+to use
+.B send
+instead of
+.B post
+to send the message.  This allows use of the user's context and aliases.
+.PP
+The
+.B \-nosend
+option shows the draft file that would be posted/sent on the command's
+standard output but does not post or send it.
+.B \-send
+provides the default behavior of posting or sending the message.  It
+can be used to disable
+.BR \-nosend ,
+for example, when using a shell alias.
 .PP
 All other switches are passed on to
 .B post
@@ -142,10 +156,10 @@ is used.
 .fi
 
 .SH "SEE ALSO"
-inc(1), post(8), send(1)
+dist(1), inc(1), post(8), send(1)
 
 .SH DEFAULTS
-None
+.RB ` \-send '
 
 .SH CONTEXT
 If
@@ -157,3 +171,8 @@ context changes occur.  With the
 switch, the context of
 .B send
 is used.
+
+.SH BUGS
+.B \-resent
+cannot be used with
+.BR \-profile .