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

Commit 8dab624

Browse files
committed
remove long names for positional arguments
1 parent c4fd00f commit 8dab624

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

token/cli/src/clap_app.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2358,7 +2358,6 @@ pub fn app<'a>(
23582358
.about("Configure confidential transfers for token account")
23592359
.arg(
23602360
Arg::with_name("token")
2361-
.long("token")
23622361
.validator(|s| is_valid_pubkey(s))
23632362
.value_name("TOKEN_MINT_ADDRESS")
23642363
.takes_value(true)
@@ -2400,7 +2399,6 @@ pub fn app<'a>(
24002399
for the first time, use `configure-confidential-transfer-account` instead.")
24012400
.arg(
24022401
Arg::with_name("token")
2403-
.long("token")
24042402
.validator(|s| is_valid_pubkey(s))
24052403
.value_name("TOKEN_MINT_ADDRESS")
24062404
.takes_value(true)
@@ -2429,7 +2427,6 @@ pub fn app<'a>(
24292427
.about("Disable confidential transfers for token account")
24302428
.arg(
24312429
Arg::with_name("token")
2432-
.long("token")
24332430
.validator(|s| is_valid_pubkey(s))
24342431
.value_name("TOKEN_MINT_ADDRESS")
24352432
.takes_value(true)
@@ -2458,7 +2455,6 @@ pub fn app<'a>(
24582455
.about("Enable non-confidential transfers for token account.")
24592456
.arg(
24602457
Arg::with_name("token")
2461-
.long("token")
24622458
.validator(|s| is_valid_pubkey(s))
24632459
.value_name("TOKEN_MINT_ADDRESS")
24642460
.takes_value(true)
@@ -2487,7 +2483,6 @@ pub fn app<'a>(
24872483
.about("Disable non-confidential transfers for token account")
24882484
.arg(
24892485
Arg::with_name("token")
2490-
.long("token")
24912486
.validator(|s| is_valid_pubkey(s))
24922487
.value_name("TOKEN_MINT_ADDRESS")
24932488
.takes_value(true)
@@ -2516,7 +2511,6 @@ pub fn app<'a>(
25162511
.about("Deposit amounts for confidential transfers")
25172512
.arg(
25182513
Arg::with_name("token")
2519-
.long("token")
25202514
.validator(|s| is_valid_pubkey(s))
25212515
.value_name("TOKEN_MINT_ADDRESS")
25222516
.takes_value(true)
@@ -2554,7 +2548,6 @@ pub fn app<'a>(
25542548
.about("Withdraw amounts for confidential transfers")
25552549
.arg(
25562550
Arg::with_name("token")
2557-
.long("token")
25582551
.validator(|s| is_valid_pubkey(s))
25592552
.value_name("TOKEN_MINT_ADDRESS")
25602553
.takes_value(true)
@@ -2592,7 +2585,6 @@ pub fn app<'a>(
25922585
.about("Collect confidential tokens from pending to available balance")
25932586
.arg(
25942587
Arg::with_name("token")
2595-
.long("token")
25962588
.validator(|s| is_valid_pubkey(s))
25972589
.value_name("TOKEN_MINT_ADDRESS")
25982590
.takes_value(true)

0 commit comments

Comments
 (0)