Enable multiple lockup fields to be set at once (#9831)

automerge
This commit is contained in:
Tyera Eulberg
2020-04-30 23:17:23 -06:00
committed by GitHub
parent 8dfe0affd4
commit db8011f4f3

View File

@ -335,6 +335,7 @@ impl StakeSubCommands for App<'_, '_> {
) )
.group(ArgGroup::with_name("lockup_details") .group(ArgGroup::with_name("lockup_details")
.args(&["lockup_epoch", "lockup_date", "new_custodian"]) .args(&["lockup_epoch", "lockup_date", "new_custodian"])
.multiple(true)
.required(true)) .required(true))
.arg( .arg(
Arg::with_name("custodian") Arg::with_name("custodian")