validator: adds --no-incremental-snapshots NOP arg for v1.10 forward compat

This commit is contained in:
Trent Nelson 2022-03-17 14:51:23 -06:00 committed by Trent Nelson
parent 08f4b19a21
commit 2e1989bb9b

View File

@ -885,6 +885,13 @@ pub fn main() {
slots behind the highest snapshot available for \
download from other validators"),
)
.arg(
// NOP arg for forward compatibility with ISS on-by-default in v1.10
Arg::with_name("no_incremental_snapshots")
.long("no-incremental-snapshots")
.hidden(true)
.conflicts_with("incremental_snapshots")
)
.arg(
Arg::with_name("incremental_snapshots")
.long("incremental-snapshots")