|
|
@ -193,9 +193,6 @@ std::string CRPCTable::help(const std::string& strCommand) const |
|
|
|
{ |
|
|
|
{ |
|
|
|
const CRPCCommand *pcmd = command.second; |
|
|
|
const CRPCCommand *pcmd = command.second; |
|
|
|
string strMethod = pcmd->name; |
|
|
|
string strMethod = pcmd->name; |
|
|
|
// We already filter duplicates, but these deprecated screw up the sort order
|
|
|
|
|
|
|
|
if (strMethod.find("label") != string::npos) |
|
|
|
|
|
|
|
continue; |
|
|
|
|
|
|
|
if ((strCommand != "" || pcmd->category == "hidden") && strMethod != strCommand) |
|
|
|
if ((strCommand != "" || pcmd->category == "hidden") && strMethod != strCommand) |
|
|
|
continue; |
|
|
|
continue; |
|
|
|
try |
|
|
|
try |
|
|
|