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

Commit 0daf1a9

Browse files
committed
directly specify positional parameter indices
1 parent cb8cc28 commit 0daf1a9

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
@@ -1530,6 +1530,7 @@ pub fn app<'a>(
15301530
.value_name("KEYPAIR")
15311531
.validator(|s| is_valid_signer(s))
15321532
.takes_value(true)
1533+
.index(2)
15331534
.help(
15341535
"Specify the keypair for the wallet which will have its native SOL wrapped. \
15351536
This wallet will be assigned as the owner of the wrapped SOL token account. \
@@ -1572,6 +1573,7 @@ pub fn app<'a>(
15721573
.value_name("KEYPAIR")
15731574
.validator(|s| is_valid_signer(s))
15741575
.takes_value(true)
1576+
.index(2)
15751577
.help(
15761578
"Specify the keypair for the wallet which owns the wrapped SOL. \
15771579
This wallet will receive the unwrapped SOL. \
@@ -2179,6 +2181,7 @@ pub fn app<'a>(
21792181
.takes_value(true)
21802182
.multiple(true)
21812183
.min_values(0_usize)
2184+
.index(2)
21822185
.help("The token accounts to withdraw from")
21832186
)
21842187
.arg(

0 commit comments

Comments
 (0)