From: Alexander Barton Date: Fri, 27 Oct 2017 10:37:20 +0000 (+0200) Subject: mail-wrapper: Add dummy "--suppress-empty" option X-Git-Url: https://arthur.barton.de/gitweb/?p=ax-unix.git;a=commitdiff_plain;h=8de5b5e3d4db644274eba40b5696436406d3c81f mail-wrapper: Add dummy "--suppress-empty" option Ignore this switch for compatibility with an other "mail-wrapper" script. But this is the default for this implementation anyway. --- diff --git a/mail/wrapper/mail-wrapper b/mail/wrapper/mail-wrapper index e581c45..9097453 100755 --- a/mail/wrapper/mail-wrapper +++ b/mail/wrapper/mail-wrapper @@ -86,6 +86,10 @@ while [[ $# -gt 0 ]]; do [[ $# -gt 0 ]] || syntax_error subject="$1" ;; + "--suppress-empty") + # Ignore this switch for compatibility with an other + # "mail-wrapper" script. This is the default anyway! + ;; "--to"|"-t") shift [[ $# -gt 0 ]] || syntax_error