]> source.dussan.org Git - rspamd.git/commitdiff
* announce the "password" keyword in usage list
authorAndrej Zverev <andrej.zverev@gmail.com>
Thu, 17 Jun 2010 13:37:52 +0000 (17:37 +0400)
committerAndrej Zverev <andrej.zverev@gmail.com>
Thu, 17 Jun 2010 13:37:52 +0000 (17:37 +0400)
src/controller.c

index e1472f0cfdc12930a2390cc4120094da12554ddb..8239d5bad2fffedf1fb5920b79d951901c197494 100644 (file)
@@ -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 <statfile> <size> [-r recipient] [-m multiplier] [-f from] [-n] - learn message to specified statfile" CRLF
                        "    quit - quit CLI session" CRLF
+                       "    password <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: