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 | 1e38a02bb5f8d3461e2edecf45bd0a4d1c5fa5a0 (diff) | |
| download | monzero-core-3ef7f3330007defce68317c6f041d63e2138d356.tar.gz monzero-core-3ef7f3330007defce68317c6f041d63e2138d356.tar.xz monzero-core-3ef7f3330007defce68317c6f041d63e2138d356.zip | |
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) }; } |
