diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2016-11-08 12:05:21 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2016-11-08 12:05:21 +0200 |
commit | e62cdd725b6088b9989ded9ee036eeb8a53ebed6 (patch) | |
tree | f4b12ff49834180b4ce59088d2da7ecfe353d9c4 /src | |
parent | fa88f070def4f14d0148bd16562a8c64d7c30690 (diff) | |
download | mailfromd-e62cdd725b6088b9989ded9ee036eeb8a53ebed6.tar.gz mailfromd-e62cdd725b6088b9989ded9ee036eeb8a53ebed6.tar.bz2 |
mfdbtool: add missing options
Diffstat (limited to 'src')
-rw-r--r-- | src/mfdbtool.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mfdbtool.c b/src/mfdbtool.c index 03649f0b..1571526e 100644 --- a/src/mfdbtool.c +++ b/src/mfdbtool.c @@ -234,7 +234,7 @@ opt_expire_interval(struct mu_parseopt *po, struct mu_option *op, expire_interval = interval; } -static struct mu_option options[] = { +static struct mu_option mfdbtool_options[] = { MU_OPTION_GROUP(N_("Database management commands")), { "delete", 0, NULL, MU_OPTION_DEFAULT, N_("delete given entries from the database"), @@ -283,7 +283,7 @@ static struct mu_option options[] = { N_("set database expiration interval to NUMBER seconds"), mu_c_string, NULL, opt_expire_interval }, MU_OPTION_END -}; +}, *options[] = { mfdbtool_options, NULL }; static int db_proc_set_expire(struct db_format *fmt, void *data) @@ -337,6 +337,7 @@ static char *capa[] = { }; struct mu_cli_setup cli = { + .optv = options, .cfg = mfdbtool_cfg_param, .prog_doc = prog_doc, }; |