Improve CLI usage messages (#8972) (#8977)

automerge
This commit is contained in:
mergify[bot]
2020-03-19 21:52:37 -07:00
committed by GitHub
parent 7ae2464cf3
commit 3bbc51a6ae
6 changed files with 88 additions and 88 deletions

View File

@@ -55,7 +55,7 @@ impl ClusterQuerySubCommands for App<'_, '_> {
Arg::with_name("node_pubkey")
.index(1)
.takes_value(true)
.value_name("PUBKEY")
.value_name("VALIDATOR_PUBKEY")
.validator(is_valid_pubkey)
.required(true)
.help("Identity pubkey of the validator"),
@@ -208,7 +208,7 @@ impl ClusterQuerySubCommands for App<'_, '_> {
.arg(
Arg::with_name("vote_account_pubkeys")
.index(1)
.value_name("VOTE ACCOUNT PUBKEYS")
.value_name("VOTE_ACCOUNT_PUBKEYS")
.takes_value(true)
.multiple(true)
.validator(is_valid_pubkey)