mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-13 11:25:02 -05:00
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:
commit
0496e15aef
1 changed files with 0 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue