aboutsummaryrefslogtreecommitdiff
path: root/src/bitcoin-cli.cpp
diff options
context:
space:
mode:
authorJon Atack <jon@atack.com>2021-01-07 16:44:02 +0100
committerJon Atack <jon@atack.com>2021-02-17 15:04:50 +0100
commit3732404afaa15f7a86846327e48cdb9a2027f80c (patch)
treedbef66b2176622fdf0b71f00fe74c9fcc1585d44 /src/bitcoin-cli.cpp
parent7afdd7225842dcff2708dedb8131bb082673f228 (diff)
cli: warn in help that -netinfo is not intended to be a stable API
Diffstat (limited to 'src/bitcoin-cli.cpp')
-rw-r--r--src/bitcoin-cli.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bitcoin-cli.cpp b/src/bitcoin-cli.cpp
index d7f5d69ac9..592b8a54ab 100644
--- a/src/bitcoin-cli.cpp
+++ b/src/bitcoin-cli.cpp
@@ -512,6 +512,7 @@ public:
const std::string m_help_doc{
"-netinfo level|\"help\" \n\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"
"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"