From a291c76cd4c74f2b8e96c14d25f60280028a5c4a Mon Sep 17 00:00:00 2001 From: Damien Goutte-Gattat Date: Mon, 26 Feb 2018 13:55:39 +0000 Subject: [PATCH] Accept -U and -D options. Only the long forms --user-agent and --date were accepted (doh!). --- src/fmail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fmail.c b/src/fmail.c index a5051b3..415ffad 100644 --- a/src/fmail.c +++ b/src/fmail.c @@ -559,7 +559,7 @@ main(int argc, char *argv[]) ctx.footer = NULL; ctx.input = stdin; - while ( (c = getopt_long(argc, argv, "hvsa:ef:H:F:T:C:S:", + while ( (c = getopt_long(argc, argv, "hvsa:ef:H:F:T:C:S:UD", options, NULL)) != -1 ) { switch ( c ) { case 'h':