kvdb+cmd: fix typos

This commit is contained in:
Thabokani committed 2024-01-03 12:06:32 +08:00
1 parent 55072bfd5e
commit b8d2fc3816
7 files changed
+9 -9

No files matched your search

+1 -1
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)
}
+1 -1
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.
+2 -2
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",