diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2016-10-22 11:48:24 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2016-10-22 12:10:48 +0300 |
commit | e267ac86e2c3a78979fe12bdd16392f30f8d1725 (patch) | |
tree | bc4734b2502cf89461abe84af99967e99c2a1ecc /mh/mh_getopt.h | |
parent | f434857b8318b05b7036025605ab18cdf3e7c238 (diff) | |
download | mailutils-e267ac86e2c3a78979fe12bdd16392f30f8d1725.tar.gz mailutils-e267ac86e2c3a78979fe12bdd16392f30f8d1725.tar.bz2 |
Finish conversion of MH utilities to mh_parseopt
This finishes work started at commit bc73fc65.
* include/mailutils/opt.h (mu_option_cache) <cache_arg>: Made const.
* libmailutils/opt/opt.c (mu_option_cache_destroy): Don't free cache_arg.
* doc/texinfo/mu-mh.texi: Update.
* po/POTFILES.in: Remove obsolete files.
* mh/tests/refile.at: Don't use double-dash options.
* mh/mh_getopt.c (mh_opt_set_folder): New function.
* mh/mh_getopt.h: Likewise.
* mh/mhn.c: Convert to mh_getopt.
* mh/mhparam.c: Likewise.
* mh/mhpath.c: Likewise.
* mh/mhseq.c: Likewise.
* mh/msgchk.c: Likewise.
* mh/pick.c: Likewise.
* mh/pick.h: Likewise.
* mh/pick.y: Likewise.
* mh/prompter.c: Likewise.
* mh/refile.c: Likewise.
* mh/repl.c: Likewise.
* mh/rmf.c: Likewise.
* mh/rmm.c: Likewise.
* mh/scan.c: Likewise.
* mh/send.c: Likewise.
* mh/show.c: Likewise.
* mh/sortm.c: Likewise.
* mh/whatnow.c: Likewise.
* mh/whom.c: Likewise.
Diffstat (limited to 'mh/mh_getopt.h')
-rw-r--r-- | mh/mh_getopt.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mh/mh_getopt.h b/mh/mh_getopt.h index b361653c9..2dcd57a1a 100644 --- a/mh/mh_getopt.h +++ b/mh/mh_getopt.h @@ -35,5 +35,7 @@ void mh_opt_find_file (struct mu_parseopt *po, struct mu_option *opt, char const *arg); void mh_opt_read_formfile (struct mu_parseopt *po, struct mu_option *opt, char const *arg); +void mh_opt_set_folder (struct mu_parseopt *po, struct mu_option *opt, + char const *arg); |