From 0100e951d3a3580f2d498416b82f56e908dfa046 Mon Sep 17 00:00:00 2001 From: binaryFate Date: Thu, 14 Jan 2016 23:13:12 +0100 Subject: [PATCH] 'max limit of...' is redundant wording, rephrase --- src/daemon/command_server.cpp | 2 +- src/daemon/rpc_command_executor.cpp | 2 +- src/p2p/net_node.inl | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/daemon/command_server.cpp b/src/daemon/command_server.cpp index 8f434c89..f99b0844 100644 --- a/src/daemon/command_server.cpp +++ b/src/daemon/command_server.cpp @@ -177,7 +177,7 @@ t_command_server::t_command_server( m_command_lookup.set_handler( "out_peers" , std::bind(&t_command_parser_executor::out_peers, &m_parser, p::_1) - , "Set max limit of out peers" + , "Set max number of out peers" ); m_command_lookup.set_handler( "start_save_graph" diff --git a/src/daemon/rpc_command_executor.cpp b/src/daemon/rpc_command_executor.cpp index 06f0f89b..edf04bc8 100644 --- a/src/daemon/rpc_command_executor.cpp +++ b/src/daemon/rpc_command_executor.cpp @@ -964,7 +964,7 @@ bool t_rpc_command_executor::out_peers(uint64_t limit) } } - std::cout << "Max limit of out peers set to " << limit << std::endl; + std::cout << "Max number of out peers set to " << limit << std::endl; return true; } diff --git a/src/p2p/net_node.inl b/src/p2p/net_node.inl index 3cd874f7..47a5dc6c 100644 --- a/src/p2p/net_node.inl +++ b/src/p2p/net_node.inl @@ -92,7 +92,7 @@ namespace nodetool const command_line::arg_descriptor arg_no_igd = {"no-igd", "Disable UPnP port mapping"}; const command_line::arg_descriptor arg_offline = {"offline", "Do not listen for peers, nor connect to any"}; - const command_line::arg_descriptor arg_out_peers = {"out-peers", "set max limit of out peers", -1}; + const command_line::arg_descriptor arg_out_peers = {"out-peers", "set max number of out peers", -1}; const command_line::arg_descriptor arg_tos_flag = {"tos-flag", "set TOS flag", -1}; const command_line::arg_descriptor arg_limit_rate_up = {"limit-rate-up", "set limit-rate-up [kB/s]", -1};