aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-05-09 13:40:13 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-05-09 13:40:13 +0100
commit35647609e6850ec191561f133e2ff5a0aaf4e480 (patch)
tree4c37b1c01de64e0b0e05df9c73d9ea8aee6e4f36
parent54463cbdf7417b26ff9303a74bfdda5a1dde13ad (diff)
downloadrspamd-35647609e6850ec191561f133e2ff5a0aaf4e480.tar.gz
rspamd-35647609e6850ec191561f133e2ff5a0aaf4e480.zip
[Minor] Some output fixes
-rw-r--r--src/rspamadm/lua_repl.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/rspamadm/lua_repl.c b/src/rspamadm/lua_repl.c
index 195f9e143..36de84c23 100644
--- a/src/rspamadm/lua_repl.c
+++ b/src/rspamadm/lua_repl.c
@@ -207,7 +207,7 @@ rspamadm_exec_input (lua_State *L, const gchar *input)
if (lua_pcall (L, 0, LUA_MULTRET, err_idx) != 0) {
tb = lua_touserdata (L, -1);
- rspamd_fprintf (stderr, "call failed: %v", tb);
+ rspamd_fprintf (stderr, "call failed: %v\n", tb);
g_string_free (tb, TRUE);
lua_settop (L, 0);
return;
@@ -241,6 +241,9 @@ rspamadm_lua_help_handler (lua_State *L, gint argc, gchar **argv)
for (i = 0; i < G_N_ELEMENTS (cmds); i ++) {
rspamd_printf ("%s: %s\n", cmds[i].name, cmds[i].description);
}
+
+ rspamd_printf ("{{: start multiline input\n");
+ rspamd_printf ("}}: end multiline input\n");
}
else {
for (i = 1; argv[i] != NULL; i ++) {