diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2016-11-01 12:27:20 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2016-11-01 12:27:20 +0200 |
commit | fd11c9136b9d862fa788ecb747cf5d1e9413a869 (patch) | |
tree | ee24fe92da0e63a40c00bfbc45a18f83a6f43450 /mh/repl.c | |
parent | 2ffea3b6973afdfc0972e33ba99a1faa9c4165de (diff) | |
download | mailutils-fd11c9136b9d862fa788ecb747cf5d1e9413a869.tar.gz mailutils-fd11c9136b9d862fa788ecb747cf5d1e9413a869.tar.bz2 |
Bugfixes in MH
* mh/mh_getopt.c (mh_opt_notimpl_warning): For boolean options,
don't emit warning if the value would be set to false.
* mh/anno.c: Fix the type of boolean unimplemented options.
* mh/refile.c: Likewise.
* mh/repl.c: Likewise.
* mh/send.c: Likewise.
Diffstat (limited to 'mh/repl.c')
-rw-r--r-- | mh/repl.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -129,7 +129,7 @@ static struct mu_option options[] = { mu_c_string, NULL, clr_cc }, { "group", 0, NULL, MU_OPTION_DEFAULT, N_("construct a group or followup reply"), - mu_c_string, NULL, set_group }, + mu_c_bool, NULL, set_group }, { "editor", 0, N_("PROG"), MU_OPTION_DEFAULT, N_("set the editor program to use"), mu_c_string, &wh_env.editor }, @@ -153,10 +153,10 @@ static struct mu_option options[] = { mu_c_string, &mhl_filter, mh_opt_clear_string }, { "inplace", 0, NULL, MU_OPTION_HIDDEN, N_("annotate the message in place"), - mu_c_string, NULL, mh_opt_notimpl_warning }, + mu_c_bool, NULL, mh_opt_notimpl_warning }, { "query", 0, NULL, MU_OPTION_HIDDEN, N_("query for addresses to place in To: and Cc: lists"), - mu_c_string, NULL, mh_opt_notimpl_warning }, + mu_c_bool, NULL, mh_opt_notimpl_warning }, { "width", 0, N_("NUMBER"), MU_OPTION_DEFAULT, N_("set output width"), mu_c_int, &width }, |