kvdb+cmd: fix typos

This commit is contained in:
Thabokani
2023-12-30 19:47:41 +08:00
parent 55072bfd5e
commit b8d2fc3816
7 changed files with 9 additions and 9 deletions

View File

@@ -453,7 +453,7 @@ func constrainMacaroon(ctx *cli.Context) error {
// add first-party caveats (if necessary) to it.
sourceMac := &macaroon.Macaroon{}
if err = sourceMac.UnmarshalBinary(sourceMacBytes); err != nil {
return fmt.Errorf("error unmarshaling source macaroon file "+
return fmt.Errorf("error unmarshalling source macaroon file "+
"%s: %v", sourceMacFile, err)
}

View File

@@ -38,7 +38,7 @@ func getPeersClient(ctx *cli.Context) (peersrpc.PeersClient, func()) {
var updateNodeAnnouncementCommand = cli.Command{
Name: "updatenodeannouncement",
Category: "Peers",
Usage: "update and brodcast a new node announcement",
Usage: "update and broadcast a new node announcement",
Description: `
Update the node's information and broadcast a new node announcement.

View File

@@ -1298,8 +1298,8 @@ var listAddressesCommand = cli.Command{
Flags: []cli.Flag{
cli.StringFlag{
Name: "account_name",
Usage: "(optional) only addreses matching this account " +
"are returned",
Usage: "(optional) only addresses matching this " +
"account are returned",
},
cli.BoolFlag{
Name: "show_custom_accounts",