Skip to content

Commit 4231be8

Browse files
committed
Make override flags global
1 parent 1407bfa commit 4231be8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lighthouse/src/main.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ fn main() {
175175
Incorrect use of this flag will cause your node to experience a consensus
176176
failure. Be extremely careful with this flag.")
177177
.takes_value(true)
178+
.global(true)
178179
)
179180
.arg(
180181
Arg::with_name("terminal-block-hash-override")
@@ -188,6 +189,7 @@ fn main() {
188189
failure. Be extremely careful with this flag.")
189190
.requires("terminal-block-hash-epoch-override")
190191
.takes_value(true)
192+
.global(true)
191193
)
192194
.arg(
193195
Arg::with_name("terminal-block-hash-epoch-override")
@@ -200,6 +202,7 @@ fn main() {
200202
failure. Be extremely careful with this flag.")
201203
.requires("terminal-block-hash-override")
202204
.takes_value(true)
205+
.global(true)
203206
)
204207
.subcommand(beacon_node::cli_app())
205208
.subcommand(boot_node::cli_app())

0 commit comments

Comments
 (0)