From d463f4cdded33df7003215c2d49b6e9e1d6859ea Mon Sep 17 00:00:00 2001 From: Andi <36215014+ChengenH@users.noreply.github.com> Date: Thu, 12 Dec 2024 13:09:52 +0800 Subject: [PATCH] docs: fix lowercase initials and typos (#12773) Signed-off-by: ChengenH --- cli/chain.go | 4 ++-- cli/multisig.go | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/cli/chain.go b/cli/chain.go index 078f5542788..cfe9b6c1c43 100644 --- a/cli/chain.go +++ b/cli/chain.go @@ -1252,11 +1252,11 @@ var ChainExportRangeCmd = &cli.Command{ } if head.Height() < tail.Height() { - return errors.New("Height of --head tipset must be greater or equal to the height of the --tail tipset") + return errors.New("height of --head tipset must be greater or equal to the height of the --tail tipset") } if !cctx.Bool("internal") { - return errors.New("Non-internal exports are not implemented") + return errors.New("non-internal exports are not implemented") } err = api.ChainExportRangeInternal(ctx, head.Key(), tail.Key(), lapi.ChainExportConfig{ diff --git a/cli/multisig.go b/cli/multisig.go index 6e45e4bb333..4abb0c1543e 100644 --- a/cli/multisig.go +++ b/cli/multisig.go @@ -526,11 +526,11 @@ var msigApproveCmd = &cli.Command{ } if cctx.NArg() > 2 && cctx.NArg() < 5 { - return ShowHelp(cctx, fmt.Errorf("usage: msig approve ")) + return ShowHelp(cctx, fmt.Errorf("usage: msig approve ")) } if cctx.NArg() > 5 && cctx.NArg() != 7 { - return ShowHelp(cctx, fmt.Errorf("usage: msig approve [ ]")) + return ShowHelp(cctx, fmt.Errorf("usage: msig approve [ ]")) } srv, err := GetFullNodeServices(cctx) @@ -663,11 +663,11 @@ var msigCancelCmd = &cli.Command{ } if cctx.NArg() > 2 && cctx.NArg() < 4 { - return ShowHelp(cctx, fmt.Errorf("usage: msig cancel ")) + return ShowHelp(cctx, fmt.Errorf("usage: msig cancel ")) } if cctx.NArg() > 4 && cctx.NArg() != 6 { - return ShowHelp(cctx, fmt.Errorf("usage: msig cancel [ ]")) + return ShowHelp(cctx, fmt.Errorf("usage: msig cancel [ ]")) } srv, err := GetFullNodeServices(cctx)