From: Vsevolod Stakhov Date: Mon, 9 May 2016 12:40:13 +0000 (+0100) Subject: [Minor] Some output fixes X-Git-Tag: 1.3.0~513 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35647609e6850ec191561f133e2ff5a0aaf4e480;p=thirdparty%2Frspamd.git [Minor] Some output fixes --- diff --git a/src/rspamadm/lua_repl.c b/src/rspamadm/lua_repl.c index 195f9e1434..36de84c23c 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 ++) {