mirror of
https://github.com/znc/znc.git
synced 2026-07-06 01:41:12 +02:00
SASL: More informative help command for Set.
With #1338, the parameter username was made optional, but the help was not changed to reflect this. ref. https://github.com/znc/znc/pull/1338#issuecomment-270563035
This commit is contained in:
committed by
Alexey Sokolov
parent
4416ef9731
commit
188b091514
+3
-2
@@ -63,9 +63,10 @@ class CSASLMod : public CModule {
|
||||
static_cast<CModCommand::ModCmdFunc>(&CSASLMod::PrintHelp),
|
||||
"search", "Generate this output");
|
||||
AddCommand("Set", static_cast<CModCommand::ModCmdFunc>(&CSASLMod::Set),
|
||||
"<username> [<password>]",
|
||||
"[<username> [<password>]]",
|
||||
"Set username and password for the mechanisms that need "
|
||||
"them. Password is optional");
|
||||
"them. Password is optional. Without parameters, returns "
|
||||
"information about current settings.");
|
||||
AddCommand("Mechanism", static_cast<CModCommand::ModCmdFunc>(
|
||||
&CSASLMod::SetMechanismCommand),
|
||||
"[mechanism[ ...]]",
|
||||
|
||||
Reference in New Issue
Block a user