Skip to content

Commit

Permalink
cmd/tarocli: fix help fall through for assets send
Browse files Browse the repository at this point in the history
Before this commit, if you didn't provide the correct args, nothing
would print out since it was trying to print the help for the `sent`
command. We fix this to instead properly try to print the help for the
`send` command instead.
  • Loading branch information
Roasbeef committed Sep 26, 2022
1 parent 4387fd1 commit faa9277
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/tarocli/assets.go
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ func sendAssets(ctx *cli.Context) error {

switch {
case ctx.String(addrName) == "":
_ = cli.ShowCommandHelp(ctx, "sent")
_ = cli.ShowCommandHelp(ctx, "send")
return nil
}

Expand Down

0 comments on commit faa9277

Please sign in to comment.