Add descriptions for RPC command line params
This commit is contained in:
parent
1e38a02bb5
commit
3ef7f33300
|
@ -45,15 +45,21 @@ namespace cryptonote
|
||||||
{
|
{
|
||||||
namespace
|
namespace
|
||||||
{
|
{
|
||||||
const command_line::arg_descriptor<std::string> arg_rpc_bind_ip = {"rpc-bind-ip", "", "127.0.0.1"};
|
const command_line::arg_descriptor<std::string> arg_rpc_bind_ip = {
|
||||||
|
"rpc-bind-ip"
|
||||||
|
, "IP for RPC server"
|
||||||
|
, "127.0.0.1"
|
||||||
|
};
|
||||||
|
|
||||||
const command_line::arg_descriptor<std::string> arg_rpc_bind_port = {
|
const command_line::arg_descriptor<std::string> arg_rpc_bind_port = {
|
||||||
"rpc-bind-port"
|
"rpc-bind-port"
|
||||||
, ""
|
, "Port for RPC server"
|
||||||
, std::to_string(config::RPC_DEFAULT_PORT)
|
, std::to_string(config::RPC_DEFAULT_PORT)
|
||||||
};
|
};
|
||||||
|
|
||||||
const command_line::arg_descriptor<std::string> arg_testnet_rpc_bind_port = {
|
const command_line::arg_descriptor<std::string> arg_testnet_rpc_bind_port = {
|
||||||
"testnet-rpc-bind-port"
|
"testnet-rpc-bind-port"
|
||||||
, ""
|
, "Port for testnet RPC server"
|
||||||
, std::to_string(config::testnet::RPC_DEFAULT_PORT)
|
, std::to_string(config::testnet::RPC_DEFAULT_PORT)
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue