diff options
author | Zachary Michaels <mikezackles@gmail.com> | 2014-09-08 16:59:42 -0400 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2014-09-15 15:53:50 +0200 |
commit | 3ef7f3330007defce68317c6f041d63e2138d356 (patch) | |
tree | 90eaecf1bc805505c1892099c311b93b0d43a4d2 /src/rpc/core_rpc_server.cpp | |
parent | Add testnet genesis tx as output by CN reference (diff) | |
download | monero-3ef7f3330007defce68317c6f041d63e2138d356.tar.xz |
Add descriptions for RPC command line params
Diffstat (limited to 'src/rpc/core_rpc_server.cpp')
-rw-r--r-- | src/rpc/core_rpc_server.cpp | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/rpc/core_rpc_server.cpp b/src/rpc/core_rpc_server.cpp index 197e4ff83..deadd25fc 100644 --- a/src/rpc/core_rpc_server.cpp +++ b/src/rpc/core_rpc_server.cpp @@ -45,15 +45,21 @@ namespace cryptonote { 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 = { "rpc-bind-port" - , "" + , "Port for RPC server" , std::to_string(config::RPC_DEFAULT_PORT) }; + const command_line::arg_descriptor<std::string> arg_testnet_rpc_bind_port = { "testnet-rpc-bind-port" - , "" + , "Port for testnet RPC server" , std::to_string(config::testnet::RPC_DEFAULT_PORT) }; } |