diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2010-05-13 16:54:03 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2010-05-13 16:54:03 +0300 |
commit | d6d78fad1073dc4b1da28696a5aec01b6460ad29 (patch) | |
tree | 26b21c41796fb9603d19a929a1fb23235f23445e /mh/mhn.c | |
parent | ae130d52fd03ccc49e1df6ef92ca0c841a071073 (diff) | |
download | mailutils-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.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |