Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(docs): Update balance options in readme #579

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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