move cryptonote command line options to cryptonote_core

Those have no reason to be in a generic module
This commit is contained in:
moneromooo-monero
2017-10-28 16:06:43 +01:00
parent f48aeab5c4
commit 082db75f28
16 changed files with 113 additions and 114 deletions

View File

@@ -85,7 +85,7 @@ namespace cryptonote
const boost::program_options::variables_map& vm
)
{
m_testnet = command_line::get_arg(vm, command_line::arg_testnet_on);
m_testnet = command_line::get_arg(vm, cryptonote::arg_testnet_on);
m_net_server.set_threads_prefix("RPC");
auto p2p_bind_arg = m_testnet ? arg_testnet_rpc_bind_port : arg_rpc_bind_port;