Add --expected-bank-hash stub for v1.2 command-line compatibility
This commit is contained in:
@ -736,6 +736,14 @@ pub fn main() {
|
|||||||
.validator(hash_validator)
|
.validator(hash_validator)
|
||||||
.help("Require the genesis have this hash"),
|
.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(
|
||||||
Arg::with_name("expected_shred_version")
|
Arg::with_name("expected_shred_version")
|
||||||
.long("expected-shred-version")
|
.long("expected-shred-version")
|
||||||
|
Reference in New Issue
Block a user