From de84c16025fd54d2f1c67cfe6a462e9c929c6244 Mon Sep 17 00:00:00 2001 From: Andrej Zverev Date: Thu, 17 Jun 2010 17:37:52 +0400 Subject: [PATCH] * announce the "password" keyword in usage list --- src/controller.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/controller.c b/src/controller.c index e1472f0cf..8239d5bad 100644 --- a/src/controller.c +++ b/src/controller.c @@ -597,12 +597,16 @@ process_command (struct controller_command *cmd, char **cmd_args, struct control break; case COMMAND_HELP: r = snprintf (out_buf, sizeof (out_buf), - "Rspamd CLI commands (* - privilleged command):" CRLF + "Rspamd CLI commands (* - privileged command):" CRLF " help - this help message" CRLF "(*) learn [-r recipient] [-m multiplier] [-f from] [-n] - learn message to specified statfile" CRLF " quit - quit CLI session" CRLF + " password - authenticate yourself for privileged commands" CRLF "(*) reload - reload rspamd" CRLF - "(*) shutdown - shutdown rspamd" CRLF " stat - show different rspamd stat" CRLF " counters - show rspamd counters" CRLF " uptime - rspamd uptime" CRLF); + "(*) shutdown - shutdown rspamd" CRLF + " stat - show different rspamd stat" CRLF + " counters - show rspamd counters" CRLF + " uptime - rspamd uptime" CRLF); rspamd_dispatcher_write (session->dispatcher, out_buf, r, FALSE, FALSE); break; case COMMAND_COUNTERS: -- 2.39.5