`solana-validator wait-for-restart-window --min-idle-time X` now works
This commit is contained in:
parent
c42b80f099
commit
98707baec2
|
@ -1581,8 +1581,8 @@ pub fn main() {
|
||||||
)
|
)
|
||||||
.arg(
|
.arg(
|
||||||
Arg::with_name("min_idle_time")
|
Arg::with_name("min_idle_time")
|
||||||
.takes_value(true)
|
|
||||||
.long("min-idle-time")
|
.long("min-idle-time")
|
||||||
|
.takes_value(true)
|
||||||
.validator(is_parsable::<usize>)
|
.validator(is_parsable::<usize>)
|
||||||
.value_name("MINUTES")
|
.value_name("MINUTES")
|
||||||
.default_value("10")
|
.default_value("10")
|
||||||
|
@ -1678,6 +1678,7 @@ pub fn main() {
|
||||||
.about("Monitor the validator for a good time to restart")
|
.about("Monitor the validator for a good time to restart")
|
||||||
.arg(
|
.arg(
|
||||||
Arg::with_name("min_idle_time")
|
Arg::with_name("min_idle_time")
|
||||||
|
.long("min-idle-time")
|
||||||
.takes_value(true)
|
.takes_value(true)
|
||||||
.index(1)
|
.index(1)
|
||||||
.validator(is_parsable::<usize>)
|
.validator(is_parsable::<usize>)
|
||||||
|
|
Loading…
Reference in New Issue