From 3ef7f3330007defce68317c6f041d63e2138d356 Mon Sep 17 00:00:00 2001 From: Zachary Michaels Date: Mon, 8 Sep 2014 16:59:42 -0400 Subject: [PATCH] Add descriptions for RPC command line params --- src/rpc/core_rpc_server.cpp | 12 +++++++++--- 1 file 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 arg_rpc_bind_ip = {"rpc-bind-ip", "", "127.0.0.1"}; + const command_line::arg_descriptor arg_rpc_bind_ip = { + "rpc-bind-ip" + , "IP for RPC server" + , "127.0.0.1" + }; + const command_line::arg_descriptor arg_rpc_bind_port = { "rpc-bind-port" - , "" + , "Port for RPC server" , std::to_string(config::RPC_DEFAULT_PORT) }; + const command_line::arg_descriptor arg_testnet_rpc_bind_port = { "testnet-rpc-bind-port" - , "" + , "Port for testnet RPC server" , std::to_string(config::testnet::RPC_DEFAULT_PORT) }; }