Cleanup CLI types (#8888)
This commit is contained in:
parent
dc347dd3d7
commit
563da2bb18
|
@ -2402,7 +2402,7 @@ pub fn app<'ab, 'v>(name: &str, about: &'ab str, version: &'v str) -> App<'ab, '
|
|||
.arg(
|
||||
Arg::with_name("signer")
|
||||
.index(1)
|
||||
.value_name("URL")
|
||||
.value_name("KEYPAIR")
|
||||
.takes_value(true)
|
||||
.required(true)
|
||||
.validator(is_valid_signer)
|
||||
|
|
|
@ -184,7 +184,7 @@ fn main() -> Result<(), Box<dyn error::Error>> {
|
|||
Arg::with_name("keypair")
|
||||
.short("k")
|
||||
.long("keypair")
|
||||
.value_name("FILEPATH")
|
||||
.value_name("KEYPAIR")
|
||||
.global(true)
|
||||
.takes_value(true)
|
||||
.help("Filepath or URL to a keypair"),
|
||||
|
|
|
@ -224,9 +224,9 @@ fn main() -> Result<(), Box<dyn error::Error>> {
|
|||
.arg(
|
||||
Arg::with_name("keypair")
|
||||
.index(2)
|
||||
.value_name("FILEPATH")
|
||||
.value_name("KEYPAIR")
|
||||
.takes_value(true)
|
||||
.help("Path to keypair file"),
|
||||
.help("Filepath or URL to a keypair"),
|
||||
)
|
||||
)
|
||||
.subcommand(
|
||||
|
@ -321,9 +321,9 @@ fn main() -> Result<(), Box<dyn error::Error>> {
|
|||
.arg(
|
||||
Arg::with_name("keypair")
|
||||
.index(1)
|
||||
.value_name("FILEPATH")
|
||||
.value_name("KEYPAIR")
|
||||
.takes_value(true)
|
||||
.help("Path to keypair file or remote wallet"),
|
||||
.help("Filepath or URL to a keypair"),
|
||||
)
|
||||
.arg(
|
||||
Arg::with_name(SKIP_SEED_PHRASE_VALIDATION_ARG.name)
|
||||
|
|
Loading…
Reference in New Issue