summaryrefslogtreecommitdiff
path: root/femtomail.c
diff options
context:
space:
mode:
Diffstat (limited to 'femtomail.c')
-rw-r--r--femtomail.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/femtomail.c b/femtomail.c
index 916bf23..1cbc4e7 100644
--- a/femtomail.c
+++ b/femtomail.c
@@ -211,6 +211,12 @@ main(int argc, char **argv) {
case 'f':
from_address = xstrdup(optarg);
break;
+ case 'b':
+ if (*optarg != 'm') {
+ /* ignore modes other than "read mail from stdin" */
+ return (EXIT_SUCCESS);
+ }
+ break;
case '?': /* unrecognized argument */
return (EXIT_FAILURE);
default: