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

Commit 6ded606

Browse files
committed
remove long names for positional arguments
1 parent bbf982c commit 6ded606

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
@@ -2361,7 +2361,6 @@ pub fn app<'a>(
23612361
.about("Configure confidential transfers for token account")
23622362
.arg(
23632363
Arg::with_name("token")
2364-
.long("token")
23652364
.validator(|s| is_valid_pubkey(s))
23662365
.value_name("TOKEN_MINT_ADDRESS")
23672366
.takes_value(true)
@@ -2403,7 +2402,6 @@ pub fn app<'a>(
24032402
for the first time, use `configure-confidential-transfer-account` instead.")
24042403
.arg(
24052404
Arg::with_name("token")
2406-
.long("token")
24072405
.validator(|s| is_valid_pubkey(s))
24082406
.value_name("TOKEN_MINT_ADDRESS")
24092407
.takes_value(true)
@@ -2432,7 +2430,6 @@ pub fn app<'a>(
24322430
.about("Disable confidential transfers for token account")
24332431
.arg(
24342432
Arg::with_name("token")
2435-
.long("token")
24362433
.validator(|s| is_valid_pubkey(s))
24372434
.value_name("TOKEN_MINT_ADDRESS")
24382435
.takes_value(true)
@@ -2461,7 +2458,6 @@ pub fn app<'a>(
24612458
.about("Enable non-confidential transfers for token account.")
24622459
.arg(
24632460
Arg::with_name("token")
2464-
.long("token")
24652461
.validator(|s| is_valid_pubkey(s))
24662462
.value_name("TOKEN_MINT_ADDRESS")
24672463
.takes_value(true)
@@ -2490,7 +2486,6 @@ pub fn app<'a>(
24902486
.about("Disable non-confidential transfers for token account")
24912487
.arg(
24922488
Arg::with_name("token")
2493-
.long("token")
24942489
.validator(|s| is_valid_pubkey(s))
24952490
.value_name("TOKEN_MINT_ADDRESS")
24962491
.takes_value(true)
@@ -2519,7 +2514,6 @@ pub fn app<'a>(
25192514
.about("Deposit amounts for confidential transfers")
25202515
.arg(
25212516
Arg::with_name("token")
2522-
.long("token")
25232517
.validator(|s| is_valid_pubkey(s))
25242518
.value_name("TOKEN_MINT_ADDRESS")
25252519
.takes_value(true)
@@ -2557,7 +2551,6 @@ pub fn app<'a>(
25572551
.about("Withdraw amounts for confidential transfers")
25582552
.arg(
25592553
Arg::with_name("token")
2560-
.long("token")
25612554
.validator(|s| is_valid_pubkey(s))
25622555
.value_name("TOKEN_MINT_ADDRESS")
25632556
.takes_value(true)
@@ -2595,7 +2588,6 @@ pub fn app<'a>(
25952588
.about("Collect confidential tokens from pending to available balance")
25962589
.arg(
25972590
Arg::with_name("token")
2598-
.long("token")
25992591
.validator(|s| is_valid_pubkey(s))
26002592
.value_name("TOKEN_MINT_ADDRESS")
26012593
.takes_value(true)

0 commit comments

Comments
 (0)