From 188b091514c726ba7be14c7ec5f509ee9ccb4993 Mon Sep 17 00:00:00 2001 From: Jos Ahrens Date: Thu, 5 Jan 2017 10:45:56 +0000 Subject: [PATCH] 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 --- modules/sasl.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/sasl.cpp b/modules/sasl.cpp index c2ded309..5d2a78d1 100644 --- a/modules/sasl.cpp +++ b/modules/sasl.cpp @@ -63,9 +63,10 @@ class CSASLMod : public CModule { static_cast(&CSASLMod::PrintHelp), "search", "Generate this output"); AddCommand("Set", static_cast(&CSASLMod::Set), - " []", + "[ []]", "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( &CSASLMod::SetMechanismCommand), "[mechanism[ ...]]",