summaryrefslogtreecommitdiff
path: root/po
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2010-11-03 12:27:17 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2010-11-03 13:24:40 +0200
commit966a860c0eef32bfe8cab5c5c05c54a8e115270b (patch)
treec492df368076ca23307d8d55219d4e43bc418058 /po
parentb02eb9b062494d2ed77ca1f52cd7733486df0bef (diff)
downloadmailutils-966a860c0eef32bfe8cab5c5c05c54a8e115270b.tar.gz
mailutils-966a860c0eef32bfe8cab5c5c05c54a8e115270b.tar.bz2
Improve command module system in mu. Add a `help' command.
* mu/Makefile.am (MODULES): New variable. Put all commands there. (mu_SOURCES): Include $(MODULES). (EXTRA_DIST): Add mu-setup.h mu-setup.c mu-setup.awk (BUILT_SOURCES): New variable. (mu-setup.h, mu-setup.c): New goals. * mu/mu.c (doc): Remove command description: it is generated automatically. (mu_help_filter): New function. (argp): Use mu_help_filter. (mutool_action_tab): Remove. (mutool_nosys,find_action): Remove. (mu_help): New function. (main): Use dispatch_find_action. * mu/mu.h: Include mailutils/types.h (mutool_pop, mutool_filter, mutool_flt2047) (mutool_info, mutool_query, mutool_acl) (mutool_wicket, mutool_ldflags, mutool_cflags): Remove protos. (mu_help, dispatch_find_action, dispatch_docstring): New protos. * mu/acl.c: Add MU Setup comment. * mu/cflags.c: Likewise. * mu/filter.c: Likewise. * mu/flt2047.c: Likewise. * mu/info.c: Likewise. * mu/ldflags.c: Likewise. * mu/pop.c: Likewise. * mu/query.c: Likewise. * mu/wicket.c: Likewise. * mu/mu-setup.awk: New file. * mu/help.c: New file. * mu/dispatch.c: New file. * mu/.gitignore: Add mu-status.[ch] * po/POTFILES.in: Add mu/dispatch.c and mu/help.c.
Diffstat (limited to 'po')
-rw-r--r--po/POTFILES.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/po/POTFILES.in b/po/POTFILES.in
index b2d2a5bd8..8d2e5e6b5 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -212,8 +212,10 @@ sieve/sieve.c
sql/mysql.c
mu/acl.c
+mu/dispatch.c
mu/filter.c
mu/flt2047.c
+mu/help.c
mu/info.c
mu/mu.c
mu/pop.c

Return to:

Send suggestions and report system problems to the System administrator.