shithub: riscv

Download patch

ref: 549b4e022597853e088479c55281828ed7a23b61
parent: 9e7ecc41d56148866725e26c872909823d515963
author: cinap_lenrek <[email protected]>
date: Mon Oct 1 20:37:17 EDT 2012

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

--- a/sys/man/1/marshal
+++ b/sys/man/1/marshal
@@ -10,8 +10,10 @@
 .B -C
 .I copyaddr
 ] [
-.B -nrx#
+.B -Fr#xn
 ] [
+.B -p[es]
+] [
 .B -R
 .I reply-msg
 ] [
@@ -21,6 +23,8 @@
 .B -t
 .I mime-type
 ] [
+.B -8
+|
 .I mailaddr ...
 ]
 .SH DESCRIPTION
@@ -90,6 +94,9 @@
 .I copyaddr
 as a recipient.
 .TP
+.BI -F
+file the message
+.TP
 .BI -n
 intentionally no standard input
 .TP
@@ -131,6 +138,19 @@
 and
 .B -A
 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
 .PP
 .I Marshal
--- a/sys/src/cmd/upas/marshal/marshal.c
+++ b/sys/src/cmd/upas/marshal/marshal.c
@@ -151,7 +151,7 @@
 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",
 		argv0);
 	exits("usage");