upas/marshal: fix usage line and add missing flags to manpage

This commit is contained in:
cinap_lenrek 2012-10-02 00:37:17 +02:00
parent 9e7ecc41d5
commit 549b4e0225
2 changed files with 22 additions and 2 deletions

View file

@ -10,7 +10,9 @@ marshal \- formatting and sending mail
.B -C .B -C
.I copyaddr .I copyaddr
] [ ] [
.B -nrx# .B -Fr#xn
] [
.B -p[es]
] [ ] [
.B -R .B -R
.I reply-msg .I reply-msg
@ -21,6 +23,8 @@ marshal \- formatting and sending mail
.B -t .B -t
.I mime-type .I mime-type
] [ ] [
.B -8
|
.I mailaddr ... .I mailaddr ...
] ]
.SH DESCRIPTION .SH DESCRIPTION
@ -90,6 +94,9 @@ and also adds
.I copyaddr .I copyaddr
as a recipient. as a recipient.
.TP .TP
.BI -F
file the message
.TP
.BI -n .BI -n
intentionally no standard input intentionally no standard input
.TP .TP
@ -131,6 +138,19 @@ all subsequent
and and
.B -A .B -A
options. options.
.TP
.B -ps
pgp sign the message
.TP
.B -pe
pgp encrypt the message
.TP
.B -8
reads recipients (
.B To:
and
.B Cc:
) from RFC 822 header of the message
.PD .PD
.PP .PP
.I Marshal .I Marshal

View file

@ -151,7 +151,7 @@ enum
void void
usage(void) usage(void)
{ {
fprint(2, "usage: %s [-Fr#xn] [-s subject] [-c ccrecipient] [-t type]" fprint(2, "usage: %s [-Fr#xn] [-s subject] [-C ccrecipient] [-t type]"
" [-aA attachment] [-p[es]] [-R replymsg] -8 | recipient-list\n", " [-aA attachment] [-p[es]] [-R replymsg] -8 | recipient-list\n",
argv0); argv0);
exits("usage"); exits("usage");