Skip to content

Commit 3732404

Browse files
committed
cli: warn in help that -netinfo is not intended to be a stable API
1 parent 7afdd72 commit 3732404

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/bitcoin-cli.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -512,6 +512,7 @@ class NetinfoRequestHandler : public BaseRequestHandler
512512
const std::string m_help_doc{
513513
"-netinfo level|\"help\" \n\n"
514514
"Returns a network peer connections dashboard with information from the remote server.\n"
515+
"This human-readable interface will change regularly and is not intended to be a stable API.\n"
515516
"Under the hood, -netinfo fetches the data by calling getpeerinfo and getnetworkinfo.\n"
516517
"An optional integer argument from 0 to 4 can be passed for different peers listings.\n"
517518
"Pass \"help\" to see this detailed help documentation.\n"

0 commit comments

Comments
 (0)