mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-20 14:52:32 +02:00
cli: warn in help that -netinfo is not intended to be a stable API
This commit is contained in:
@ -512,6 +512,7 @@ public:
|
|||||||
const std::string m_help_doc{
|
const std::string m_help_doc{
|
||||||
"-netinfo level|\"help\" \n\n"
|
"-netinfo level|\"help\" \n\n"
|
||||||
"Returns a network peer connections dashboard with information from the remote server.\n"
|
"Returns a network peer connections dashboard with information from the remote server.\n"
|
||||||
|
"This human-readable interface will change regularly and is not intended to be a stable API.\n"
|
||||||
"Under the hood, -netinfo fetches the data by calling getpeerinfo and getnetworkinfo.\n"
|
"Under the hood, -netinfo fetches the data by calling getpeerinfo and getnetworkinfo.\n"
|
||||||
"An optional integer argument from 0 to 4 can be passed for different peers listings.\n"
|
"An optional integer argument from 0 to 4 can be passed for different peers listings.\n"
|
||||||
"Pass \"help\" to see this detailed help documentation.\n"
|
"Pass \"help\" to see this detailed help documentation.\n"
|
||||||
|
Reference in New Issue
Block a user