Adjust "solana rent" sub command to clarify automatic inclusion of account overhead (#21383)

* Adjust CLI rent command description and help to clarify account overhead already included

* Adjust rent sub command about message

* Adjust CLI message

* Adjust CLI rent command description and help to clarify account overhead already included

* Adjust rent sub command about message
This commit is contained in:
Michael 2021-11-24 18:53:05 +02:00 committed by GitHub
parent 238d65c0b8
commit 755221bac4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -451,7 +451,7 @@ impl ClusterQuerySubCommands for App<'_, '_> {
)
.subcommand(
SubCommand::with_name("rent")
.about("Calculate per-epoch and rent-exempt-minimum values for a given account data length.")
.about("Calculate per-epoch and rent-exempt-minimum values for a given account data field length.")
.arg(
Arg::with_name("data_length")
.index(1)
@ -462,7 +462,7 @@ impl ClusterQuerySubCommands for App<'_, '_> {
.map(|_| ())
.map_err(|e| e.to_string())
})
.help("Length of data in the account to calculate rent for, or moniker: [nonce, stake, system, vote]"),
.help("Length of data field in the account to calculate rent for, or moniker: [nonce, stake, system, vote]"),
)
.arg(
Arg::with_name("lamports")