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

Commit 0afb444

Browse files
committed
remove long names for positional arguments
1 parent ff00bfd commit 0afb444

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
@@ -2330,7 +2330,6 @@ pub fn app<'a>(
23302330
.about("Configure confidential transfers for token account")
23312331
.arg(
23322332
Arg::with_name("token")
2333-
.long("token")
23342333
.validator(|s| is_valid_pubkey(s))
23352334
.value_name("TOKEN_MINT_ADDRESS")
23362335
.takes_value(true)
@@ -2372,7 +2371,6 @@ pub fn app<'a>(
23722371
for the first time, use `configure-confidential-transfer-account` instead.")
23732372
.arg(
23742373
Arg::with_name("token")
2375-
.long("token")
23762374
.validator(|s| is_valid_pubkey(s))
23772375
.value_name("TOKEN_MINT_ADDRESS")
23782376
.takes_value(true)
@@ -2401,7 +2399,6 @@ pub fn app<'a>(
24012399
.about("Disable confidential transfers for token account")
24022400
.arg(
24032401
Arg::with_name("token")
2404-
.long("token")
24052402
.validator(|s| is_valid_pubkey(s))
24062403
.value_name("TOKEN_MINT_ADDRESS")
24072404
.takes_value(true)
@@ -2430,7 +2427,6 @@ pub fn app<'a>(
24302427
.about("Enable non-confidential transfers for token account.")
24312428
.arg(
24322429
Arg::with_name("token")
2433-
.long("token")
24342430
.validator(|s| is_valid_pubkey(s))
24352431
.value_name("TOKEN_MINT_ADDRESS")
24362432
.takes_value(true)
@@ -2459,7 +2455,6 @@ pub fn app<'a>(
24592455
.about("Disable non-confidential transfers for token account")
24602456
.arg(
24612457
Arg::with_name("token")
2462-
.long("token")
24632458
.validator(|s| is_valid_pubkey(s))
24642459
.value_name("TOKEN_MINT_ADDRESS")
24652460
.takes_value(true)
@@ -2488,7 +2483,6 @@ pub fn app<'a>(
24882483
.about("Deposit amounts for confidential transfers")
24892484
.arg(
24902485
Arg::with_name("token")
2491-
.long("token")
24922486
.validator(|s| is_valid_pubkey(s))
24932487
.value_name("TOKEN_MINT_ADDRESS")
24942488
.takes_value(true)
@@ -2526,7 +2520,6 @@ pub fn app<'a>(
25262520
.about("Withdraw amounts for confidential transfers")
25272521
.arg(
25282522
Arg::with_name("token")
2529-
.long("token")
25302523
.validator(|s| is_valid_pubkey(s))
25312524
.value_name("TOKEN_MINT_ADDRESS")
25322525
.takes_value(true)
@@ -2564,7 +2557,6 @@ pub fn app<'a>(
25642557
.about("Collect confidential tokens from pending to available balance")
25652558
.arg(
25662559
Arg::with_name("token")
2567-
.long("token")
25682560
.validator(|s| is_valid_pubkey(s))
25692561
.value_name("TOKEN_MINT_ADDRESS")
25702562
.takes_value(true)

0 commit comments

Comments
 (0)