aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/dbcfg.c3
-rw-r--r--pmult/pmult.c14
-rw-r--r--src/calloutd.c5
-rw-r--r--src/main.c2
-rw-r--r--src/mfdbtool.c1
-rw-r--r--src/srvcfg.c14
6 files changed, 20 insertions, 19 deletions
diff --git a/lib/dbcfg.c b/lib/dbcfg.c
index 60a46fd2..ce2644c0 100644
--- a/lib/dbcfg.c
+++ b/lib/dbcfg.c
@@ -83,7 +83,8 @@ cb_database_file(void *data, mu_config_value_t *arg)
struct mu_cfg_param database_section_param[] = {
{ "file", mu_cfg_callback, NULL,
offsetof(struct db_format, dbname), cb_database_file,
- N_("Name of the database file") },
+ N_("Name of the database file"),
+ N_("name: string") },
{ "enable", mu_c_bool, NULL, offsetof(struct db_format, enabled), NULL,
N_("Enable or disable the database") },
{ "expire-interval", mu_cfg_callback, NULL,
diff --git a/pmult/pmult.c b/pmult/pmult.c
index 77ec1ede..a081376d 100644
--- a/pmult/pmult.c
+++ b/pmult/pmult.c
@@ -401,21 +401,21 @@ struct mu_cfg_param client_cfg_param[] = {
N_("Set remote milter type. Only `milter' is understood so far."),
/* TRANSLATORS: 'milter' and 'pmilter' are keywords, do not translate
them. */
- N_("{milter [version: number]|pmilter}") },
+ N_("arg: milter [version: number]|pmilter") },
{ "url", mu_c_string, NULL, mu_offsetof(struct pmult_client, url), NULL,
N_("Set remote client URL.") },
{ "write-timeout", mu_cfg_callback, NULL, 0, _cb_write_timeout,
N_("Set write timeout."),
- N_("time") },
+ N_("arg: interval") },
{ "read-timeout", mu_cfg_callback, NULL, 0, _cb_read_timeout,
N_("Set read timeout."),
- N_("time") },
+ N_("arg: interval") },
{ "eom-timeout", mu_cfg_callback, NULL, 0, _cb_eom_timeout,
N_("Set timeout for EOM."),
- N_("time") },
+ N_("arg: interval") },
{ "connect-timeout", mu_cfg_callback, NULL, 0, _cb_connect_timeout,
N_("Set connect timeout."),
- N_("time") },
+ N_("arg: interval") },
{ "log-level", mu_cfg_callback, NULL, 0, _cb_log_level,
N_("Set log verbosity level. Arg is a list of items separated by commas "
"or whitespace. Each item is a log level optionally prefixed with `!' "
@@ -657,7 +657,7 @@ request_auth_macros ()
struct mu_cfg_param pmult_cfg_param[] = {
{ "listen", mu_cfg_callback, &portspec, 0, _cb_portspec,
N_("Listen for milter requests on the given URL."),
- N_("url") },
+ N_("url: string") },
{ "max-threads-soft", mu_c_uint, &max_threads_soft, 0, NULL,
N_("Maximum number of threads (soft limit).") },
{ "max-threads-hard", mu_c_uint, &max_threads_hard, 0, NULL,
@@ -2245,7 +2245,7 @@ alloc_die_func ()
struct mu_cli_setup cli = {
.optv = options,
- .cfg = client_cfg_param,
+ .cfg = pmult_cfg_param,
.prog_doc = prog_doc,
};
diff --git a/src/calloutd.c b/src/calloutd.c
index 4ad4103f..65e0b7b4 100644
--- a/src/calloutd.c
+++ b/src/calloutd.c
@@ -52,11 +52,12 @@ struct mu_cfg_param callout_cfg_param[] = {
{ ".mfd:server", mu_cfg_section, NULL, 0, NULL, NULL },
{ "lock-retry-count", mu_cfg_callback, NULL, 0,
config_cb_lock_retry_count,
- N_("Retry acquiring DBM file lock this number of times.") },
+ N_("Retry acquiring DBM file lock this number of times."),
+ N_("arg: number") },
{ "lock-retry-timeout", mu_cfg_callback, NULL, 0,
config_cb_lock_retry_timeout,
N_("Set the time span between the two DBM locking attempts."),
- N_("time") },
+ N_("time: interval") },
{ NULL }
};
diff --git a/src/main.c b/src/main.c
index 94b7f6b0..18785afa 100644
--- a/src/main.c
+++ b/src/main.c
@@ -867,7 +867,7 @@ struct mu_cfg_param mf_cfg_param[] = {
{ "lock-retry-timeout", mu_cfg_callback, NULL, 0,
config_cb_lock_retry_timeout,
N_("Set the time span between the two DBM locking attempts."),
- N_("time") },
+ N_("time: interval") },
{ "max-match-mx", mu_c_size, &max_match_mx, 0, NULL,
N_("Maximum number of MXs used by MFL \"mx match\" operation.") },
diff --git a/src/mfdbtool.c b/src/mfdbtool.c
index ab32a57c..03649f0b 100644
--- a/src/mfdbtool.c
+++ b/src/mfdbtool.c
@@ -331,7 +331,6 @@ struct mu_cfg_param mfdbtool_cfg_param[] = {
};
static char *capa[] = {
- "common",
"debug",
"locking",
NULL
diff --git a/src/srvcfg.c b/src/srvcfg.c
index b6a8f92a..a0a84d20 100644
--- a/src/srvcfg.c
+++ b/src/srvcfg.c
@@ -417,40 +417,40 @@ struct mu_cfg_param smtp_timeout_section_param[] = {
{ "connection", mu_cfg_callback,
NULL, smtp_timeout_connect * sizeof(time_t), cb_timeout,
N_("Initial SMTP connection timeout."),
- N_("time") },
+ N_("time: interval") },
{ "initial-response",
mu_cfg_callback,
NULL, smtp_timeout_initial * sizeof(time_t), cb_timeout,
N_("Timeout for initial SMTP response."),
- N_("time") },
+ N_("time: interval") },
{ "helo",
mu_cfg_callback,
NULL, smtp_timeout_helo * sizeof(time_t), cb_timeout,
N_("Timeout for HELO response."),
- N_("time") },
+ N_("time: interval") },
{ "mail",
mu_cfg_callback,
NULL, smtp_timeout_mail * sizeof(time_t), cb_timeout,
N_("Timeout for MAIL response."),
- N_("time") },
+ N_("time: interval") },
{ "rcpt",
mu_cfg_callback,
NULL, smtp_timeout_rcpt * sizeof(time_t),
cb_timeout,
N_("Timeout for RCPT response."),
- N_("time") },
+ N_("time: interval") },
{ "rset",
mu_cfg_callback,
NULL, smtp_timeout_rset * sizeof(time_t),
cb_timeout,
N_("Timeout for RSET response."),
- N_("time") },
+ N_("time: interval") },
{ "quit",
mu_cfg_callback,
NULL, smtp_timeout_quit * sizeof(time_t),
cb_timeout,
N_("Timeout for QUIT response."),
- N_("time") },
+ N_("time: interval") },
{ NULL }
};

Return to:

Send suggestions and report system problems to the System administrator.