commit 0ee303d: [Minor] Fix help output

Vsevolod Stakhov vsevolod at rspamd.com
Sat May 20 14:28:04 UTC 2023


Author: Vsevolod Stakhov
Date: 2023-05-20 15:26:53 +0100
URL: https://github.com/rspamd/rspamd/commit/0ee303d595cc351e78fabb8d3902a8fc730e3e38 (HEAD -> master)

[Minor] Fix help output
Issue: #4483

---
 src/rspamadm/pw.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/rspamadm/pw.c b/src/rspamadm/pw.c
index c81c96a94..351004465 100644
--- a/src/rspamadm/pw.c
+++ b/src/rspamadm/pw.c
@@ -64,12 +64,13 @@ rspamadm_pw_help (gboolean full_help, const struct rspamadm_command *cmd)
 	const char *help_str;
 
 	if (full_help) {
-		help_str = "Manipulate with passwords in rspamd\n\n"
+		help_str = "Manipulate with passwords in Rspamd\n\n"
 				"Usage: rspamadm pw [command]\n"
 				"Where commands are:\n\n"
 				"--encrypt: encrypt password (this is a default command)\n"
 				"--check: check encrypted password using encrypted password\n"
 				"--list: list available pbkdf algorithms\n"
+				"--password: input password\n"
 				"--type: select the specified pbkdf type\n"
 				"--help: shows available options and commands";
 	}


More information about the Commits mailing list