accounts, litcli: address description for the command update and the space removal

This commit updates the account update command description and ArgsUsage
for better clarity.

Additionally, a formatting nit is fixed in the checkLabel error message
to ensure no line starts with a space character.
This commit is contained in:
cyberguru1 2026-05-05 12:42:23 -05:00
parent d435ca7fe6
commit afe032a50d
No known key found for this signature in database
GPG key ID: F0FB5ECF1A8786E6
2 changed files with 5 additions and 5 deletions

View file

@ -146,10 +146,10 @@ var updateAccountCommand = cli.Command{
Name: "update",
ShortName: "u",
Usage: "Update an existing off-chain account.",
ArgsUsage: "[id | label] [new_balance] [new_expiration_date] " +
"[--new_label=]",
ArgsUsage: "[id | label] new_balance new_expiration_date",
Description: "Updates an existing off-chain account and sets " +
"a new balance, new expiration date or a new label.",
"a new balance, new expiration date and " +
"optionally a new label.",
Flags: []cli.Flag{
cli.StringFlag{
Name: idName,