diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2016-11-10 06:11:58 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2016-11-10 06:11:58 +0000 |
commit | e4cf769d7306fa8cf215cea8cfe05d88c62f86c8 (patch) | |
tree | a46d2c8d0a6627e8683fc8397799f863a7291c54 | |
parent | c9180c6b546aedc1614ddababe180dd010e80af0 (diff) | |
download | wyslij-po-e4cf769d7306fa8cf215cea8cfe05d88c62f86c8.tar.gz wyslij-po-e4cf769d7306fa8cf215cea8cfe05d88c62f86c8.tar.bz2 |
Fix --dry-run option
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | src/main.c | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 6c60d36..1f74537 100644 --- a/configure.ac +++ b/configure.ac @@ -42,7 +42,7 @@ AC_TYPE_SIZE_T gl_INIT # Check for GNU Mailutils -AM_GNU_MAILUTILS(2.99.992, [auth mailer]) +AM_GNU_MAILUTILS(3.0, [auth mailer]) # Gettext. AM_ICONV @@ -466,7 +466,7 @@ static struct mu_cli_setup cli = { .prog_args = args_doc, }; -int +void my_getopt(int *pargc, char ***pargv, char **capa) { struct mu_parseopt pohint; @@ -513,6 +513,9 @@ main (int argc, char **argv) exit (1); } + if (dry_run) + verbose++; + if (!sender && !set_sender_from_po) sender = mu_get_user_email (NULL); |