diff options
author | binaryFate <binaryfate01@gmail.com> | 2016-01-14 23:13:12 +0100 |
---|---|---|
committer | binaryFate <binaryfate01@gmail.com> | 2016-01-14 23:13:12 +0100 |
commit | 0100e951d3a3580f2d498416b82f56e908dfa046 (patch) | |
tree | 90bffda637f1f330ad2a6a87f2f493f8b38671a5 | |
parent | Print msg when successfully updating out_peers (diff) | |
download | monero-0100e951d3a3580f2d498416b82f56e908dfa046.tar.xz |
'max limit of...' is redundant wording, rephrase
Diffstat (limited to '')
-rw-r--r-- | src/daemon/command_server.cpp | 2 | ||||
-rw-r--r-- | src/daemon/rpc_command_executor.cpp | 2 | ||||
-rw-r--r-- | 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 8f434c89a..f99b0844a 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 06f0f89bc..edf04bc82 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 3cd874f7a..47a5dc6c3 100644 --- a/src/p2p/net_node.inl +++ b/src/p2p/net_node.inl @@ -92,7 +92,7 @@ namespace nodetool const command_line::arg_descriptor<bool> arg_no_igd = {"no-igd", "Disable UPnP port mapping"}; const command_line::arg_descriptor<bool> arg_offline = {"offline", "Do not listen for peers, nor connect to any"}; - const command_line::arg_descriptor<int64_t> arg_out_peers = {"out-peers", "set max limit of out peers", -1}; + const command_line::arg_descriptor<int64_t> arg_out_peers = {"out-peers", "set max number of out peers", -1}; const command_line::arg_descriptor<int> arg_tos_flag = {"tos-flag", "set TOS flag", -1}; const command_line::arg_descriptor<int64_t> arg_limit_rate_up = {"limit-rate-up", "set limit-rate-up [kB/s]", -1}; |