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:
parent
238d65c0b8
commit
755221bac4
|
@ -451,7 +451,7 @@ impl ClusterQuerySubCommands for App<'_, '_> {
|
||||||
)
|
)
|
||||||
.subcommand(
|
.subcommand(
|
||||||
SubCommand::with_name("rent")
|
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(
|
||||||
Arg::with_name("data_length")
|
Arg::with_name("data_length")
|
||||||
.index(1)
|
.index(1)
|
||||||
|
@ -462,7 +462,7 @@ impl ClusterQuerySubCommands for App<'_, '_> {
|
||||||
.map(|_| ())
|
.map(|_| ())
|
||||||
.map_err(|e| e.to_string())
|
.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(
|
||||||
Arg::with_name("lamports")
|
Arg::with_name("lamports")
|
||||||
|
|
Loading…
Reference in New Issue