Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit 645a987

Browse files
committed
Output tweaks
1 parent 4145440 commit 645a987

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

token/cli/src/main.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ fn command_create_account(
286286
)
287287
} else {
288288
let account = get_associated_token_address(&config.owner, &token);
289-
println!("Creating associated account for {}", &config.owner);
289+
println!("Creating account {}", account);
290290
(
291291
account,
292292
true,
@@ -443,7 +443,7 @@ fn command_transfer(
443443
if account_data.owner == system_program::id() {
444444
recipient_token_account = get_associated_token_address(&recipient, &mint_pubkey);
445445
println!(
446-
"Recipient's associated token account: {}",
446+
" Recipient associated token account: {}",
447447
recipient_token_account
448448
);
449449

@@ -471,7 +471,7 @@ fn command_transfer(
471471
.rpc_client
472472
.get_minimum_balance_for_rent_exemption(Account::LEN)?;
473473
println!(
474-
"Funding recipient: {} ({} SOL)",
474+
" Funding recipient: {} ({} SOL)",
475475
recipient_token_account,
476476
lamports_to_sol(minimum_balance_for_rent_exemption)
477477
);
@@ -1162,7 +1162,7 @@ fn main() {
11621162
.help(
11631163
"Specify the account keypair. \
11641164
This may be a keypair file or the ASK keyword. \
1165-
[default: RANDOMLY GENERATED KEYPAIR]"
1165+
[default: associated token account for --owner]"
11661166
),
11671167
)
11681168
.nonce_args(true)
@@ -1351,7 +1351,7 @@ fn main() {
13511351
.value_name("RECIPIENT_TOKEN_ACCOUNT_ADDRESS")
13521352
.takes_value(true)
13531353
.index(3)
1354-
.help("The token account address of recipient [default: associated token account]"),
1354+
.help("The token account address of recipient [default: associated token account for --owner]"),
13551355
)
13561356
.arg(mint_decimals_arg())
13571357
.arg(multisig_signer_arg())

0 commit comments

Comments
 (0)