Reject invalid --expected-shred-version (#14183)
* Reject invalid --expected-shred-version * less code
This commit is contained in:
parent
e8cc0bef6c
commit
3c9b853268
|
@ -1140,6 +1140,7 @@ pub fn main() {
|
|||
.long("expected-shred-version")
|
||||
.value_name("VERSION")
|
||||
.takes_value(true)
|
||||
.validator(is_parsable::<u16>)
|
||||
.help("Require the shred version be this value"),
|
||||
)
|
||||
.arg(
|
||||
|
|
Loading…
Reference in New Issue