From 755221bac44f98799ea5c90f7c91b53eff9166dd Mon Sep 17 00:00:00 2001 From: Michael <68944931+michaelh-laine@users.noreply.github.com> Date: Wed, 24 Nov 2021 18:53:05 +0200 Subject: [PATCH] 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 --- cli/src/cluster_query.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/src/cluster_query.rs b/cli/src/cluster_query.rs index fa5eb00e2a..2b572031ca 100644 --- a/cli/src/cluster_query.rs +++ b/cli/src/cluster_query.rs @@ -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")