diff options
author | mikeh <mikeh@FreeBSD.org> | 2001-06-28 02:40:07 +0000 |
---|---|---|
committer | mikeh <mikeh@FreeBSD.org> | 2001-06-28 02:40:07 +0000 |
commit | e65f95daf358a37f16803c1e0525aac9c021d0b6 (patch) | |
tree | f3260d4fbd6d3b506ac496a52d8c03cb8602bf8a /usr.bin/mail/mail.1 | |
parent | 47d3082050d220c6f4d161234ff7a3c4bc03b629 (diff) | |
download | FreeBSD-src-e65f95daf358a37f16803c1e0525aac9c021d0b6.zip FreeBSD-src-e65f95daf358a37f16803c1e0525aac9c021d0b6.tar.gz |
Add the -E flag to not send messages that have an empty body. This is
useful for piping cron script error output by mail.
PR: bin/9494
Obtained from: NetBSD
MFC after: 2 weeks
Diffstat (limited to 'usr.bin/mail/mail.1')
-rw-r--r-- | usr.bin/mail/mail.1 | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/usr.bin/mail/mail.1 b/usr.bin/mail/mail.1 index ed67cc3..ddbf34a 100644 --- a/usr.bin/mail/mail.1 +++ b/usr.bin/mail/mail.1 @@ -40,7 +40,7 @@ .Nd send and receive mail .Sh SYNOPSIS .Nm -.Op Fl iInv +.Op Fl EiInv .Op Fl s Ar subject .Op Fl c Ar cc-addr .Op Fl b Ar bcc-addr @@ -50,11 +50,11 @@ .Ar sendmail-option ... .Oc .Nm -.Op Fl iInNv +.Op Fl EiInNv .Fl f .Op Ar name .Nm -.Op Fl iInNv +.Op Fl EiInNv .Op Fl u Ar user .Sh INTRODUCTION .Nm Mail @@ -68,6 +68,9 @@ with lines replaced by messages. Verbose mode. The details of delivery are displayed on the user's terminal. +.It Fl E +Don't send messages with an empty body. This is useful +for piping errors from cron scripts. .It Fl i Ignore tty interrupt signals. This is |