diff --git a/accounts/interface.go b/accounts/interface.go index d77fc3e1..709f40ec 100644 --- a/accounts/interface.go +++ b/accounts/interface.go @@ -449,8 +449,8 @@ func checkLabel(label string) error { if len(label) == hex.EncodedLen(AccountIDLen) { _, err := hex.DecodeString(label) if err == nil { - return fmt.Errorf("the label '%s'"+ - " is not allowed as it "+ + return fmt.Errorf("the label '%s' "+ + "is not allowed as it "+ "can be mistaken for an account ID", label) } } diff --git a/cmd/litcli/accounts.go b/cmd/litcli/accounts.go index 174f8605..f2463d4b 100644 --- a/cmd/litcli/accounts.go +++ b/cmd/litcli/accounts.go @@ -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,