summaryrefslogtreecommitdiff
path: root/mh/mhn.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2010-05-13 16:54:03 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2010-05-13 16:54:03 +0300
commitd6d78fad1073dc4b1da28696a5aec01b6460ad29 (patch)
tree26b21c41796fb9603d19a929a1fb23235f23445e /mh/mhn.c
parentae130d52fd03ccc49e1df6ef92ca0c841a071073 (diff)
downloadmailutils-d6d78fad1073dc4b1da28696a5aec01b6460ad29.tar.gz
mailutils-d6d78fad1073dc4b1da28696a5aec01b6460ad29.tar.bz2
MH: Improve handling of not implemented options.
* mh/mh_getopt.c (mh_opt_notimpl, mh_opt_notimpl_warning): New functions. * mh/mh_getopt.h (mh_opt_notimpl, mh_opt_notimpl_warning): New protos. * mh/ali.c (doc): Remove 'not implemented' stanza. * mh/pick.c: Likewise. * mh/anno.c: Use mh_opt_notimpl and mh_opt_notimpl_warning for not implemented options. * mh/comp.c: Likewise. * mh/forw.c: Likewise. * mh/mhn.c: Likewise. * mh/refile.c: Likewise. * mh/repl.c: Likewise. * mh/scan.c: Likewise. * mh/send.c: Likewise.
Diffstat (limited to 'mh/mhn.c')
-rw-r--r--mh/mhn.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mh/mhn.c b/mh/mhn.c
index b54d109ce..b764e970b 100644
--- a/mh/mhn.c
+++ b/mh/mhn.c
@@ -334,6 +334,7 @@ opt_handler (int key, char *arg, struct argp_state *state)
/* Display options */
case ARG_SERIALONLY:
+ mh_opt_notimpl_warning ("-[no]serialonly");
if (is_true (arg))
{
mode_options |= OPT_SERIALONLY;

Return to:

Send suggestions and report system problems to the System administrator.