Skip to content

Commit

Permalink
docs: fix lowercase initials and typos (#12773)
Browse files Browse the repository at this point in the history
Signed-off-by: ChengenH <[email protected]>
  • Loading branch information
ChengenH authored Dec 12, 2024
1 parent fce526e commit d463f4c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions cli/chain.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down
8 changes: 4 additions & 4 deletions cli/multisig.go
Original file line number Diff line number Diff line change
Expand Up @@ -526,11 +526,11 @@ var msigApproveCmd = &cli.Command{
}

if cctx.NArg() > 2 && cctx.NArg() < 5 {
return ShowHelp(cctx, fmt.Errorf("usage: msig approve <msig addr> <message ID> <proposer address> <desination> <value>"))
return ShowHelp(cctx, fmt.Errorf("usage: msig approve <msig addr> <message ID> <proposer address> <destination> <value>"))
}

if cctx.NArg() > 5 && cctx.NArg() != 7 {
return ShowHelp(cctx, fmt.Errorf("usage: msig approve <msig addr> <message ID> <proposer address> <desination> <value> [ <method> <params> ]"))
return ShowHelp(cctx, fmt.Errorf("usage: msig approve <msig addr> <message ID> <proposer address> <destination> <value> [ <method> <params> ]"))
}

srv, err := GetFullNodeServices(cctx)
Expand Down Expand Up @@ -663,11 +663,11 @@ var msigCancelCmd = &cli.Command{
}

if cctx.NArg() > 2 && cctx.NArg() < 4 {
return ShowHelp(cctx, fmt.Errorf("usage: msig cancel <msig addr> <message ID> <desination> <value>"))
return ShowHelp(cctx, fmt.Errorf("usage: msig cancel <msig addr> <message ID> <destination> <value>"))
}

if cctx.NArg() > 4 && cctx.NArg() != 6 {
return ShowHelp(cctx, fmt.Errorf("usage: msig cancel <msig addr> <message ID> <desination> <value> [ <method> <params> ]"))
return ShowHelp(cctx, fmt.Errorf("usage: msig cancel <msig addr> <message ID> <destination> <value> [ <method> <params> ]"))
}

srv, err := GetFullNodeServices(cctx)
Expand Down

0 comments on commit d463f4c

Please sign in to comment.