]> arthur.barton.de Git - ax-unix.git/commitdiff
mail-wrapper: Show default for <from> and <to> on --help
authorAlexander Barton <alex@barton.de>
Sat, 19 Aug 2023 19:50:00 +0000 (21:50 +0200)
committerAlexander Barton <alex@barton.de>
Sat, 19 Aug 2023 19:50:00 +0000 (21:50 +0200)
mail/wrapper/mail-wrapper

index e3c8adbbcb26fa4792f0c12d117107c28f58f93d..1a7fd106f93dc880be954dd5c5503bafca348507 100755 (executable)
@@ -41,7 +41,8 @@ usage() {
                echo "  --subject|-s <subject>  Subject for the email."
                echo "  --to|-t <address>       Email address to send the email to."
                echo
-               echo "When no <command> is given, $NAME reads from standard input."
+               echo "When no <command> is given, $NAME reads from standard input. The default for"
+               echo "<from> and <to> for the current user is \"$to\"."
                echo
        } >&2
        exit "${1:-0}"