Merge #9894: remove 'label' filter for rpc command help

6665977 remove 'label' filter for rpc command help (Gregory Sanders)

Tree-SHA512: 0676c55b2893a469cd6785963affbb04126b9a32c130f1bb22dfd233ede6998f695187264e897ced4e0dac48451d9ae0311ebb4f7442096cad632fd22f75080e
This commit is contained in:
Wladimir J. van der Laan 2017-03-02 10:03:17 +01:00
commit 0496e15aef
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
1 changed files with 0 additions and 3 deletions

View File

@ -193,9 +193,6 @@ std::string CRPCTable::help(const std::string& strCommand) const
{
const CRPCCommand *pcmd = command.second;
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)
continue;
try