File tree 3 files changed +6
-21
lines changed 3 files changed +6
-21
lines changed Original file line number Diff line number Diff line change @@ -41,19 +41,14 @@ pub struct ComputeNodeOpts {
41
41
// TODO: rename to listen_addr and separate out the port.
42
42
/// The address that this service listens to.
43
43
/// Usually the localhost + desired port.
44
- #[ clap(
45
- long,
46
- alias = "host" ,
47
- env = "RW_LISTEN_ADDR" ,
48
- default_value = "127.0.0.1:5688"
49
- ) ]
44
+ #[ clap( long, env = "RW_LISTEN_ADDR" , default_value = "127.0.0.1:5688" ) ]
50
45
pub listen_addr : String ,
51
46
52
47
/// The address for contacting this instance of the service.
53
48
/// This would be synonymous with the service's "public address"
54
49
/// or "identifying address".
55
50
/// Optional, we will use listen_addr if not specified.
56
- #[ clap( long, alias = "client-address" , env = "RW_ADVERTISE_ADDR" , long) ]
51
+ #[ clap( long, env = "RW_ADVERTISE_ADDR" , long) ]
57
52
pub advertise_addr : Option < String > ,
58
53
59
54
#[ clap(
Original file line number Diff line number Diff line change @@ -75,19 +75,14 @@ pub struct FrontendOpts {
75
75
// TODO: rename to listen_addr and separate out the port.
76
76
/// The address that this service listens to.
77
77
/// Usually the localhost + desired port.
78
- #[ clap(
79
- long,
80
- alias = "host" ,
81
- env = "RW_LISTEN_ADDR" ,
82
- default_value = "127.0.0.1:4566"
83
- ) ]
78
+ #[ clap( long, env = "RW_LISTEN_ADDR" , default_value = "127.0.0.1:4566" ) ]
84
79
pub listen_addr : String ,
85
80
86
81
/// The address for contacting this instance of the service.
87
82
/// This would be synonymous with the service's "public address"
88
83
/// or "identifying address".
89
84
/// Optional, we will use listen_addr if not specified.
90
- #[ clap( long, env = "RW_ADVERTISE_ADDR" , alias = "client-address" ) ]
85
+ #[ clap( long, env = "RW_ADVERTISE_ADDR" ) ]
91
86
pub advertise_addr : Option < String > ,
92
87
93
88
// TODO: This is currently unused.
Original file line number Diff line number Diff line change @@ -27,19 +27,14 @@ pub struct CompactorOpts {
27
27
// TODO: rename to listen_addr and separate out the port.
28
28
/// The address that this service listens to.
29
29
/// Usually the localhost + desired port.
30
- #[ clap(
31
- long,
32
- alias = "host" ,
33
- env = "RW_LISTEN_ADDR" ,
34
- default_value = "127.0.0.1:6660"
35
- ) ]
30
+ #[ clap( long, env = "RW_LISTEN_ADDR" , default_value = "127.0.0.1:6660" ) ]
36
31
pub listen_addr : String ,
37
32
38
33
/// The address for contacting this instance of the service.
39
34
/// This would be synonymous with the service's "public address"
40
35
/// or "identifying address".
41
36
/// Optional, we will use listen_addr if not specified.
42
- #[ clap( long, env = "RW_ADVERTISE_ADDR" , alias = "client-address" ) ]
37
+ #[ clap( long, env = "RW_ADVERTISE_ADDR" ) ]
43
38
pub advertise_addr : Option < String > ,
44
39
45
40
// TODO: This is currently unused.
You can’t perform that action at this time.
0 commit comments