* Reject invalid --expected-shred-version
* less code
(cherry picked from commit 3c9b853268
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com>
This commit is contained in:
@ -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(
|
||||
|
Reference in New Issue
Block a user