Skip to content

Commit

Permalink
[token-cli] Make owner address argument in account-info command to …
Browse files Browse the repository at this point in the history
…be non-positional (#5215)

remove long name for account info command
  • Loading branch information
samkim-crypto authored Sep 13, 2023
1 parent c2c516f commit b11e5df
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion token/cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3874,7 +3874,11 @@ fn app<'a, 'b>(
To query a specific account, use the `--address` parameter instead"),
)
.arg(
owner_address_arg()
Arg::with_name(OWNER_ADDRESS_ARG.name)
.takes_value(true)
.value_name("OWNER_ADDRESS")
.validator(is_valid_signer)
.help(OWNER_ADDRESS_ARG.help)
.index(2)
.conflicts_with("address")
.help("Owner of the associated account for the specified token. \
Expand Down

0 comments on commit b11e5df

Please sign in to comment.