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

Commit b11e5df

Browse files
[token-cli] Make owner address argument in account-info command to be non-positional (#5215)
remove long name for account info command
1 parent c2c516f commit b11e5df

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

token/cli/src/main.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3874,7 +3874,11 @@ fn app<'a, 'b>(
38743874
To query a specific account, use the `--address` parameter instead"),
38753875
)
38763876
.arg(
3877-
owner_address_arg()
3877+
Arg::with_name(OWNER_ADDRESS_ARG.name)
3878+
.takes_value(true)
3879+
.value_name("OWNER_ADDRESS")
3880+
.validator(is_valid_signer)
3881+
.help(OWNER_ADDRESS_ARG.help)
38783882
.index(2)
38793883
.conflicts_with("address")
38803884
.help("Owner of the associated account for the specified token. \

0 commit comments

Comments
 (0)