summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2017-01-16 07:42:26 +0200
committerSergey Poznyakoff <gray@gnu.org>2017-01-16 07:57:06 +0200
commit96dd35f02fe175507d5ff91ccdcc2c59ff5a24fd (patch)
tree3afbed54dca2ec53a02fa67e3746a5978ded299b /NEWS
parent888e2a9a7cbac3e3c072f04a5bd45894c9d296ad (diff)
downloadmailutils-96dd35f02fe175507d5ff91ccdcc2c59ff5a24fd.tar.gz
mailutils-96dd35f02fe175507d5ff91ccdcc2c59ff5a24fd.tar.bz2
mail: new option --skip-empty-attachments
* libmailutils/cli/cli.c (mu_cli): Use "no-" prefix to indicate negation * mail/mail.c (skip_empty_attachments): New global. (mail_options): New option --skip-empty-attachments * mail/mail.h (skip_empty_attachments): New extern. * mail/send.c (atchinfo) <skip_empty>: New field. (send_attach_file): Initialize skip_empty (saveatt): Optionally skip empty attachments * NEWS: Mention the new option. * doc/texinfo/programs.texi: Document the new option.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS5
1 files changed, 4 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 79d09c5fe..1885cf269 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,4 @@
-GNU mailutils NEWS -- history of user-visible changes. 2017-01-13
+GNU mailutils NEWS -- history of user-visible changes. 2017-01-16
Copyright (C) 2002-2017 Free Software Foundation, Inc.
See the end of file for copying conditions.
@@ -40,6 +40,9 @@ obvious reasons, the interactive mode is suppressed in this case.
The `--attach-fd' option is useful when calling `mail' from another
program.
+The new option `--skip-empty-attachments' instructs `mail' to omit
+attachments that have zero-size body.
+
Example:
Suppose that the 'mail' binary is opened at file descriptor 5 and

Return to:

Send suggestions and report system problems to the System administrator.