aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbinaryFate <binaryfate01@gmail.com>2016-01-14 23:13:12 +0100
committerbinaryFate <binaryfate01@gmail.com>2016-01-14 23:13:12 +0100
commit0100e951d3a3580f2d498416b82f56e908dfa046 (patch)
tree90bffda637f1f330ad2a6a87f2f493f8b38671a5 /src
parentPrint msg when successfully updating out_peers (diff)
downloadmonero-0100e951d3a3580f2d498416b82f56e908dfa046.tar.xz
'max limit of...' is redundant wording, rephrase
Diffstat (limited to 'src')
-rw-r--r--src/daemon/command_server.cpp2
-rw-r--r--src/daemon/rpc_command_executor.cpp2
-rw-r--r--src/p2p/net_node.inl2
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};