diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-12-02 13:45:36 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-12-02 13:45:36 +0000 |
commit | f5df796a9f91bdecb3f3e35e67fd0c52adedb685 (patch) | |
tree | 75a7c931dedad0b8343938117d74b0faeb00768f /src/rspamadm/configdump.c | |
parent | 5b1a87305b3c8fde5db68b191f1ac239343d01a4 (diff) | |
download | rspamd-f5df796a9f91bdecb3f3e35e67fd0c52adedb685.tar.gz rspamd-f5df796a9f91bdecb3f3e35e67fd0c52adedb685.zip |
[Feature] Allow rspamadm commands to export methods in Lua
Diffstat (limited to 'src/rspamadm/configdump.c')
-rw-r--r-- | src/rspamadm/configdump.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/rspamadm/configdump.c b/src/rspamadm/configdump.c index 60cd75c36..cf49f4632 100644 --- a/src/rspamadm/configdump.c +++ b/src/rspamadm/configdump.c @@ -39,7 +39,8 @@ struct rspamadm_command configdump_command = { .name = "configdump", .flags = 0, .help = rspamadm_configdump_help, - .run = rspamadm_configdump + .run = rspamadm_configdump, + .lua_subrs = NULL, }; static GOptionEntry entries[] = { @@ -244,7 +245,7 @@ rspamadm_configdump (gint argc, gchar **argv) gint i; context = g_option_context_new ( - "keypair - create encryption keys"); + "configdump - dumps Rspamd configuration"); g_option_context_set_summary (context, "Summary:\n Rspamd administration utility version " RVERSION |