Skip to content

Commit

Permalink
chore(docs): Update balance options in readme (#579)
Browse files Browse the repository at this point in the history
Signed-off-by: Michiel Mulders <[email protected]>
  • Loading branch information
michielmulders authored Jan 17, 2025
1 parent 5568981 commit 3ed676e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ Flags:
Displays the balance of a specified account. Users can choose to view only the Hbar balance or the balance of a specific token. It's not possible to use both options at once.

```sh
hcli account balance <accountIdOrAlias> [-h,--only-hbar] [-t,--token-id <tokenId>]
hcli account balance -a,--account-id-or-alias <accountIdOrAlias> [-h,--only-hbar] [-t,--token-id <tokenId>]

// Output
Balance for account 0.0.5892294:
Expand Down
2 changes: 1 addition & 1 deletion src/commands/account/balance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default (program: any) => {
.description('Retrieve the balance for an account ID or alias')
.requiredOption(
'-a, --account-id-or-alias <accountIdOrAlias>',
'Account ID or account alias to retrieve balance for',
'(Required) Account ID or account alias to retrieve balance for',
)
.option('-h, --only-hbar', 'Show only Hbar balance')
.option('-t, --token-id <tokenId>', 'Show balance for a specific token ID')
Expand Down

0 comments on commit 3ed676e

Please sign in to comment.