validator-info --help text tweaks (#5402)

This commit is contained in:
Michael Vines 2019-08-02 08:30:08 -07:00 committed by GitHub
parent e360e63b74
commit aced847735
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -185,10 +185,10 @@ fn main() -> Result<(), Box<dyn error::Error>> {
.arg(
Arg::with_name("validator_keypair")
.index(1)
.value_name("PATH")
.value_name("KEYPAIR")
.takes_value(true)
.required(true)
.help("/path/to/id.json"),
.help("/path/to/validator-keypair.json"),
)
.arg(
Arg::with_name("info_pubkey")
@ -202,7 +202,7 @@ fn main() -> Result<(), Box<dyn error::Error>> {
.arg(
Arg::with_name("name")
.index(2)
.value_name("STRING")
.value_name("NAME")
.takes_value(true)
.required(true)
.validator(is_short_field)
@ -221,7 +221,7 @@ fn main() -> Result<(), Box<dyn error::Error>> {
Arg::with_name("keybase_username")
.short("k")
.long("keybase")
.value_name("STRING")
.value_name("USERNAME")
.takes_value(true)
.validator(is_short_field)
.help("Validator Keybase username"),
@ -230,7 +230,7 @@ fn main() -> Result<(), Box<dyn error::Error>> {
Arg::with_name("details")
.short("d")
.long("details")
.value_name("STRING")
.value_name("DETAILS")
.takes_value(true)
.validator(check_details_length)
.help(&format!(