Skip to content

Commit 726ce95

Browse files
committed
Deprecate -r instead of -H
1 parent 827068c commit 726ce95

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

programs/cli_wallet/main.cpp

+3-2
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,12 @@ int main( int argc, char** argv )
7676
("server-rpc-endpoint,s", bpo::value<string>()->implicit_value("ws://127.0.0.1:8090"), "Server websocket RPC endpoint")
7777
("server-rpc-user,u", bpo::value<string>(), "Server Username")
7878
("server-rpc-password,p", bpo::value<string>(), "Server Password")
79-
("rpc-endpoint,r", bpo::value<string>()->implicit_value("127.0.0.1:8091"), "Endpoint for wallet websocket RPC to listen on")
79+
("rpc-endpoint,r", bpo::value<string>()->implicit_value("127.0.0.1:8091"),
80+
"Endpoint for wallet websocket RPC to listen on (DEPRECATED, use rpc-http-endpoint instead)")
8081
("rpc-tls-endpoint,t", bpo::value<string>()->implicit_value("127.0.0.1:8092"), "Endpoint for wallet websocket TLS RPC to listen on")
8182
("rpc-tls-certificate,c", bpo::value<string>()->implicit_value("server.pem"), "PEM certificate for wallet websocket TLS RPC")
8283
("rpc-http-endpoint,H", bpo::value<string>()->implicit_value("127.0.0.1:8093"),
83-
"Endpoint for wallet HTTP RPC to listen on (DEPRECATED, use rpc-endpoint instead)")
84+
"Endpoint for wallet HTTP and websocket RPC to listen on")
8485
("daemon,d", "Run the wallet in daemon mode" )
8586
("wallet-file,w", bpo::value<string>()->implicit_value("wallet.json"), "wallet to load")
8687
("chain-id", bpo::value<string>(), "chain ID to connect to")

0 commit comments

Comments
 (0)