Browse Source

remove 'label' filter for rpc command help

0.15
Gregory Sanders 8 years ago
parent
commit
666597798c
  1. 3
      src/rpc/server.cpp

3
src/rpc/server.cpp

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

Loading…
Cancel
Save