mirror of
https://github.com/znc/znc.git
synced 2026-04-30 10:34:16 +02:00
Revise *controlpanel help output
Make the output easier to read by wrapping mandatory argument names with angle brackets (just like in *status help), and make it possible to output help for given command(s). Furthermore, output only relevant variable lists and align casing & arguments in general help & command specific usage output.
This commit is contained in:
@@ -554,7 +554,7 @@ bool CModule::HandleCommand(const CString& sLine) {
|
||||
}
|
||||
|
||||
void CModule::HandleHelpCommand(const CString& sLine) {
|
||||
CString sFilter = sLine.Token(1, true);
|
||||
CString sFilter = sLine.Token(1);
|
||||
CString::size_type iFilterLength = sFilter.size();
|
||||
CTable Table;
|
||||
map<CString, CModCommand>::const_iterator it;
|
||||
|
||||
Reference in New Issue
Block a user