mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-16 11:22:56 +00:00
Tidy grpc and misc things
This commit is contained in:
@@ -9,9 +9,6 @@ lazy_static! {
|
||||
Config::default()
|
||||
};
|
||||
|
||||
static ref DEFAULT_SERVER_GRPC_PORT: String = {
|
||||
format!("{}", DEFAULTS.server_grpc_port)
|
||||
};
|
||||
static ref DEFAULT_SERVER_HTTP_PORT: String = {
|
||||
format!("{}", DEFAULTS.server_http_port)
|
||||
};
|
||||
@@ -54,15 +51,6 @@ pub fn cli_app<'a, 'b>() -> App<'a, 'b> {
|
||||
.default_value(&DEFAULTS.server)
|
||||
.takes_value(true),
|
||||
)
|
||||
.arg(
|
||||
Arg::with_name("server-grpc-port")
|
||||
.long("server-grpc-port")
|
||||
.short("g")
|
||||
.value_name("PORT")
|
||||
.help("Port to use for gRPC API connection to the server.")
|
||||
.default_value(&DEFAULT_SERVER_GRPC_PORT)
|
||||
.takes_value(true),
|
||||
)
|
||||
.arg(
|
||||
Arg::with_name("server-http-port")
|
||||
.long("server-http-port")
|
||||
|
||||
Reference in New Issue
Block a user