diff options
author | Andrej Zverev <andrej.zverev@gmail.com> | 2010-06-17 17:37:52 +0400 |
---|---|---|
committer | Andrej Zverev <andrej.zverev@gmail.com> | 2010-06-17 17:37:52 +0400 |
commit | de84c16025fd54d2f1c67cfe6a462e9c929c6244 (patch) | |
tree | 1d9570fef60d01cd5c74836ac378f4d36ba5aa30 | |
parent | f8d1e84d304a06834cc508c8235078a15640ab7c (diff) | |
download | rspamd-de84c16025fd54d2f1c67cfe6a462e9c929c6244.tar.gz rspamd-de84c16025fd54d2f1c67cfe6a462e9c929c6244.zip |
* announce the "password" keyword in usage list
-rw-r--r-- | src/controller.c | 8 |
1 files 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 <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: |