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:
J-P Nurmi
2014-08-18 12:29:21 +02:00
parent aec99ea213
commit df08352148
2 changed files with 149 additions and 126 deletions

View File

@@ -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;