Merge pull request #1781

520756c3 rpc: s/rcp/rpc/ (moneromooo-monero)
This commit is contained in:
Riccardo Spagni 2017-02-24 11:58:38 +02:00
commit b352330a3f
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD

View file

@ -37,7 +37,7 @@ namespace cryptonote
rpc_args::descriptors::descriptors() rpc_args::descriptors::descriptors()
: rpc_bind_ip({"rpc-bind-ip", rpc_args::tr("Specify ip to bind rpc server"), "127.0.0.1"}) : rpc_bind_ip({"rpc-bind-ip", rpc_args::tr("Specify ip to bind rpc server"), "127.0.0.1"})
, rpc_login({"rpc-login", rpc_args::tr("Specify username[:password] required for RPC server"), "", true}) , rpc_login({"rpc-login", rpc_args::tr("Specify username[:password] required for RPC server"), "", true})
, confirm_external_bind({"confirm-external-bind", rpc_args::tr("Confirm rcp-bind-ip value is NOT a loopback (local) IP")}) , confirm_external_bind({"confirm-external-bind", rpc_args::tr("Confirm rpc-bind-ip value is NOT a loopback (local) IP")})
{} {}
const char* rpc_args::tr(const char* str) { return i18n_translate(str, "cryptonote::rpc_args"); } const char* rpc_args::tr(const char* str) { return i18n_translate(str, "cryptonote::rpc_args"); }