summaryrefslogtreecommitdiffstats
path: root/doc/tools.texi
diff options
context:
space:
mode:
Diffstat (limited to 'doc/tools.texi')
-rw-r--r--doc/tools.texi13
1 files changed, 11 insertions, 2 deletions
diff --git a/doc/tools.texi b/doc/tools.texi
index 75765b5c3..6e95a81a3 100644
--- a/doc/tools.texi
+++ b/doc/tools.texi
@@ -2171,10 +2171,10 @@ gpgtar --list-archive test1
@c
@manpage gpg-mail-tube.1
@node gpg-mail-tube
-@section Encrypt rfc822 formated mail in a pipeline
+@section Encrypt rfc822 formatted mail in a pipeline
@ifset manverb
.B gpg-mail-tube
-\- Encrypt rfc822 formated mail in a pipeline
+\- Encrypt rfc822 formatted mail in a pipeline
@end ifset
@mansect synopsis
@@ -2229,6 +2229,15 @@ Put the given environment string into the environment of this process
and of the called gpg. This option is required if there is no other
way to set the environemt.
+@item --as-attach
+@itemx -a
+@opindex as-attach
+Do not write a PGP/MIME mail but emit a simple body along with an
+attachment containing the encrypted body of the input mail. If the
+input was a plain text message a simple encrypted file will be
+attached. If the input was a multipart MIME message the encrypted
+file is of type message/rfc822.
+
@item --gpg @var{gpgcmd}
@opindex gpg
Use the specified command @var{gpgcmd} instead of @command{gpg}.