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

Commit 75ca129

Browse files
committed
token-cli: Fix compute units arguments
1 parent 61cea38 commit 75ca129

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

token/cli/src/clap_app.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -627,6 +627,7 @@ pub fn app<'a, 'b>(
627627
Arg::with_name(COMPUTE_UNIT_LIMIT_ARG.name)
628628
.long(COMPUTE_UNIT_LIMIT_ARG.long)
629629
.takes_value(true)
630+
.global(true)
630631
.value_name("COMPUTE-UNIT-LIMIT")
631632
.validator(is_parsable::<u32>)
632633
.help(COMPUTE_UNIT_LIMIT_ARG.help)
@@ -635,6 +636,7 @@ pub fn app<'a, 'b>(
635636
Arg::with_name(COMPUTE_UNIT_PRICE_ARG.name)
636637
.long(COMPUTE_UNIT_PRICE_ARG.long)
637638
.takes_value(true)
639+
.global(true)
638640
.value_name("COMPUTE-UNIT-PRICE")
639641
.validator(is_parsable::<u64>)
640642
.help(COMPUTE_UNIT_PRICE_ARG.help)

0 commit comments

Comments
 (0)