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

Commit 7a12ee5

Browse files
committed
directly specify positional parameter indices
1 parent fcada04 commit 7a12ee5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

token/cli/src/clap_app.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1558,6 +1558,7 @@ pub fn app<'a>(
15581558
.value_name("KEYPAIR")
15591559
.validator(|s| is_valid_signer(s))
15601560
.takes_value(true)
1561+
.index(2)
15611562
.help(
15621563
"Specify the keypair for the wallet which will have its native SOL wrapped. \
15631564
This wallet will be assigned as the owner of the wrapped SOL token account. \
@@ -1600,6 +1601,7 @@ pub fn app<'a>(
16001601
.value_name("KEYPAIR")
16011602
.validator(|s| is_valid_signer(s))
16021603
.takes_value(true)
1604+
.index(2)
16031605
.help(
16041606
"Specify the keypair for the wallet which owns the wrapped SOL. \
16051607
This wallet will receive the unwrapped SOL. \
@@ -2207,6 +2209,7 @@ pub fn app<'a>(
22072209
.takes_value(true)
22082210
.multiple(true)
22092211
.min_values(0_usize)
2212+
.index(2)
22102213
.help("The token accounts to withdraw from")
22112214
)
22122215
.arg(

0 commit comments

Comments
 (0)