Allow testnet command to overwrite files (#1045)

This commit is contained in:
Age Manning
2020-04-23 19:01:16 +10:00
committed by GitHub
parent 91648cc230
commit 6784a8b42a
3 changed files with 22 additions and 9 deletions

View File

@@ -254,6 +254,13 @@ fn main() {
"Produce a new testnet directory. If any of the optional flags are not
supplied the values will remain the default for the --spec flag",
)
.arg(
Arg::with_name("force")
.long("force")
.short("f")
.takes_value(false)
.help("Overwrites any previous testnet configurations"),
)
.arg(
Arg::with_name("min-genesis-time")
.long("min-genesis-time")