Enable any signer in various cli subcommands (#8844)

automerge
This commit is contained in:
Tyera Eulberg
2020-03-13 17:06:33 -06:00
committed by GitHub
parent 9e0a26628b
commit 5c2cf04e10
4 changed files with 35 additions and 20 deletions

View File

@@ -269,7 +269,7 @@ impl StakeSubCommands for App<'_, '_> {
.value_name("SPLIT STAKE ACCOUNT")
.takes_value(true)
.required(true)
.validator(is_keypair_or_ask_keyword)
.validator(is_valid_signer)
.help("Keypair of the new stake account to split funds into")
)
.arg(