Factor trim format function out
[mmh] / man / whom.man1
index 718ef2e..d52dbca 100644 (file)
@@ -9,6 +9,7 @@ whom \- report to whom a message would go
 .na
 .B whom
 .RB [ \-tocc " | " \-notocc ]
+.RB [ \-dcc " | " \-nodcc ]
 .RB [ \-bcc " | " \-nobcc ]
 .RB [ \-alias " | " \-noalias ]
 .RB [ \-Version ]
@@ -21,17 +22,24 @@ is used to list the recipient addresses in the headers of a message.
 .PP
 Per default,
 .B whom
-lists both, sighted and hidden, recipients.
+lists sighted and hidden recipients.
 The
 .BR \-notocc
-option suppresses the listing of sighted recipients.
+option suppresses the listing of sighted recipients (To and Cc).
+The
+.BR \-nodcc
+option suppresses the listing of hidden DCC recipients.
 The
 .BR \-nobcc
-option suppresses the listing of hidden recipients.
-If both kinds of recipients are requested, they are separated by a
-line similar to ``\0==BCC==''.
+option suppresses the listing of hidden BCC recipients.
+If the printing of multiple kinds of recipients
+is requested and hidden ones are present,
+they are separated by a line similar to ``\0==DCC=='' or ``\0==BCC==''.
 The actual separator may change, but the regular expression
-/^[\0\\t].*BCC/ should always match.
+/^[\0\\t].*[DB]CC/ should always match.
+No separator is printed if only one kind of recipients is requested
+for printing, or if multiple are requested but no hidden recipients are
+present.
 .PP
 With
 .BR \-alias ,
@@ -67,6 +75,7 @@ mh\-alias(5), spost(8)
 .SH DEFAULTS
 .nf
 .RB ` \-tocc '
+.RB ` \-dcc '
 .RB ` \-bcc '
 .RB ` \-alias '
 .fi