Add --expected-bank-hash stub for v1.2 command-line compatibility

This commit is contained in:
Michael Vines
2020-07-16 11:25:10 -07:00
parent 1972d8b5c0
commit 8f790e3153

View File

@ -736,6 +736,14 @@ pub fn main() {
.validator(hash_validator)
.help("Require the genesis have this hash"),
)
.arg(
Arg::with_name("expected_bank_hash")
.long("expected-bank-hash")
.value_name("HASH")
.takes_value(true)
.validator(hash_validator)
.hidden(true) // This is a stub implementation for v1.2 command-line compatibility
)
.arg(
Arg::with_name("expected_shred_version")
.long("expected-shred-version")