summaryrefslogtreecommitdiff
path: root/movemail
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2007-12-04 13:39:27 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2007-12-04 13:39:27 +0000
commite0f4a7db8af17b10d588db2d0a2eeeb6a9cb95f4 (patch)
treeaeae9f3ffcba939ca8892e39cb9beacd07afc6f7 /movemail
parent2bce826fc9a8ee891822562760a99398db227b04 (diff)
downloadmailutils-e0f4a7db8af17b10d588db2d0a2eeeb6a9cb95f4.tar.gz
mailutils-e0f4a7db8af17b10d588db2d0a2eeeb6a9cb95f4.tar.bz2
Extend --config-help output. Each configuration parameter
has a docstring which is displayed as a comment before it. A docstring is also added to the configuration group structure, for use in future. * include/mailutils/cfg.h (struct mu_cfg_param): New members `docstring' and `argname'. (struct mu_cfg_section): New member `docstring'. (mu_cfg_format_docstring): New function. * include/mailutils/libargp.h (mu_help_config_mode): New declaration. * libargp/cmdline.h (mu_help_config_mode): Remove. * libargp/muinit.c (mu_app_init): Better format the initial comment. * mailbox/cfg_format.c (mu_cfg_data_type_string): Use NLS. (mu_cfg_format_docstring): New function. (format_param,format_section): Use mu_cfg_format_docstring. * mailbox/cfg_lexer.c (mu_config_create_container): Initialize allocated memory chunk with zeros. (dup_container): Duplicate docstring. (mu_build_container): Document include statement. * dotlock/dotlock.c, imap4d/imap4d.c, libargp/tls.c, libcfg/auth.c, libcfg/common.c, libcfg/gsasl.c, libcfg/ldap.c, libcfg/pam.c, libcfg/radius.c, libcfg/sieve.c, libcfg/sql.c, libcfg/tls.c, libcfg/virtdomain.c, maidag/maidag.c, mail.local/main.c, mail.remote/mail.remote.c, mimeview/mimeview.c, movemail/movemail.c, pop3d/pop3d.c, readmsg/readmsg.c, sieve/sieve.c: Document configuration file statements. * pop3d/pop3d.h (expire): Change type to unsigned int. * po/POTFILES.in: Add missing files.
Diffstat (limited to 'movemail')
-rw-r--r--movemail/movemail.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/movemail/movemail.c b/movemail/movemail.c
index d32cbd6d2..18661415d 100644
--- a/movemail/movemail.c
+++ b/movemail/movemail.c
@@ -90,9 +90,12 @@ static struct argp argp = {
struct mu_cfg_param movemail_cfg_param[] = {
- { "preserve", mu_cfg_bool, &preserve_mail },
- { "reverse", mu_cfg_bool, &reverse_order },
- { "emacs", mu_cfg_bool, &emacs_mode },
+ { "preserve", mu_cfg_bool, &preserve_mail, NULL,
+ N_("Do not remove messages from the source mailbox.") },
+ { "reverse", mu_cfg_bool, &reverse_order, NULL,
+ N_("Reverse message sorting order.") },
+ { "emacs", mu_cfg_bool, &emacs_mode, NULL,
+ N_("Output information used by Emacs rmail interface.") },
{ NULL }
};

Return to:

Send suggestions and report system problems to the System administrator.