diff --git a/cmd/lotus-bench/rpc.go b/cmd/lotus-bench/rpc.go index 960c0ab2b5e..21de52cfbc1 100644 --- a/cmd/lotus-bench/rpc.go +++ b/cmd/lotus-bench/rpc.go @@ -173,7 +173,7 @@ NOTE: The last two examples will not work until we upgrade urfave dependency (tr ticker := time.NewTicker(cctx.Duration("watch")) for { clearAndPrintReport := func() { - // clear the screen move the curser to the top left + // clear the screen move the cursor to the top left fmt.Print("\033[2J") fmt.Printf("\033[%d;%dH", 1, 1) for i, e := range rpcMethods { diff --git a/cmd/lotus-shed/state-stats.go b/cmd/lotus-shed/state-stats.go index 88b21f40767..60276094c45 100644 --- a/cmd/lotus-shed/state-stats.go +++ b/cmd/lotus-shed/state-stats.go @@ -374,7 +374,7 @@ var statSnapshotCmd = &cli.Command{ }, &cli.BoolFlag{ Name: "pretty", - Usage: "print formated output instead of ldjson", + Usage: "print formatted output instead of ldjson", Value: false, }, }, @@ -641,7 +641,7 @@ to reduce the number of decode operations performed by caching the decoded objec }, &cli.BoolFlag{ Name: "pretty", - Usage: "print formated output instead of ldjson", + Usage: "print formatted output instead of ldjson", Value: false, }, }, diff --git a/cmd/tvx/state.go b/cmd/tvx/state.go index 9674bf17ed6..600bf1669e8 100644 --- a/cmd/tvx/state.go +++ b/cmd/tvx/state.go @@ -148,7 +148,7 @@ func (sg *StateSurgeon) WriteCAR(w io.Writer, roots ...cid.Cid) error { } // WriteCARIncluding writes a CAR including only the CIDs that are listed in -// the include set. This leads to an intentially sparse tree with dangling links. +// the include set. This leads to an intentionally sparse tree with dangling links. func (sg *StateSurgeon) WriteCARIncluding(w io.Writer, include map[cid.Cid]struct{}, roots ...cid.Cid) error { carWalkFn := func(nd format.Node) (out []*format.Link, err error) { for _, link := range nd.Links() {