aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/command_server.cpp
diff options
context:
space:
mode:
authorxiphon <xiphon@protonmail.com>2019-01-18 00:55:55 +0000
committerxiphon <xiphon@protonmail.com>2019-01-18 01:32:18 +0000
commitd294a577faa11910985920f1e70a39398e53d82d (patch)
tree8e5b459057e42c70c7ee7e21f4db796c386deb8e /src/daemon/command_server.cpp
parentMerge pull request #4902 (diff)
downloadmonero-d294a577faa11910985920f1e70a39398e53d82d.tar.xz
daemon: extend 'print_pl' command, optional filter by type and limit
Diffstat (limited to 'src/daemon/command_server.cpp')
-rw-r--r--src/daemon/command_server.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/daemon/command_server.cpp b/src/daemon/command_server.cpp
index 527ed2cf1..0438cb9f7 100644
--- a/src/daemon/command_server.cpp
+++ b/src/daemon/command_server.cpp
@@ -64,6 +64,7 @@ t_command_server::t_command_server(
m_command_lookup.set_handler(
"print_pl"
, std::bind(&t_command_parser_executor::print_peer_list, &m_parser, p::_1)
+ , "print_pl [white] [gray] [<limit>]"
, "Print the current peer list."
);
m_command_lookup.set_handler(