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

Commit c712268

Browse files
committed
remove long names for positional arguments
1 parent bb18b53 commit c712268

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
@@ -2408,7 +2408,6 @@ pub fn app<'a>(
24082408
.about("Configure confidential transfers for token account")
24092409
.arg(
24102410
Arg::with_name("token")
2411-
.long("token")
24122411
.validator(|s| is_valid_pubkey(s))
24132412
.value_name("TOKEN_MINT_ADDRESS")
24142413
.takes_value(true)
@@ -2450,7 +2449,6 @@ pub fn app<'a>(
24502449
for the first time, use `configure-confidential-transfer-account` instead.")
24512450
.arg(
24522451
Arg::with_name("token")
2453-
.long("token")
24542452
.validator(|s| is_valid_pubkey(s))
24552453
.value_name("TOKEN_MINT_ADDRESS")
24562454
.takes_value(true)
@@ -2479,7 +2477,6 @@ pub fn app<'a>(
24792477
.about("Disable confidential transfers for token account")
24802478
.arg(
24812479
Arg::with_name("token")
2482-
.long("token")
24832480
.validator(|s| is_valid_pubkey(s))
24842481
.value_name("TOKEN_MINT_ADDRESS")
24852482
.takes_value(true)
@@ -2508,7 +2505,6 @@ pub fn app<'a>(
25082505
.about("Enable non-confidential transfers for token account.")
25092506
.arg(
25102507
Arg::with_name("token")
2511-
.long("token")
25122508
.validator(|s| is_valid_pubkey(s))
25132509
.value_name("TOKEN_MINT_ADDRESS")
25142510
.takes_value(true)
@@ -2537,7 +2533,6 @@ pub fn app<'a>(
25372533
.about("Disable non-confidential transfers for token account")
25382534
.arg(
25392535
Arg::with_name("token")
2540-
.long("token")
25412536
.validator(|s| is_valid_pubkey(s))
25422537
.value_name("TOKEN_MINT_ADDRESS")
25432538
.takes_value(true)
@@ -2566,7 +2561,6 @@ pub fn app<'a>(
25662561
.about("Deposit amounts for confidential transfers")
25672562
.arg(
25682563
Arg::with_name("token")
2569-
.long("token")
25702564
.validator(|s| is_valid_pubkey(s))
25712565
.value_name("TOKEN_MINT_ADDRESS")
25722566
.takes_value(true)
@@ -2604,7 +2598,6 @@ pub fn app<'a>(
26042598
.about("Withdraw amounts for confidential transfers")
26052599
.arg(
26062600
Arg::with_name("token")
2607-
.long("token")
26082601
.validator(|s| is_valid_pubkey(s))
26092602
.value_name("TOKEN_MINT_ADDRESS")
26102603
.takes_value(true)
@@ -2642,7 +2635,6 @@ pub fn app<'a>(
26422635
.about("Collect confidential tokens from pending to available balance")
26432636
.arg(
26442637
Arg::with_name("token")
2645-
.long("token")
26462638
.validator(|s| is_valid_pubkey(s))
26472639
.value_name("TOKEN_MINT_ADDRESS")
26482640
.takes_value(true)

0 commit comments

Comments
 (0)