From faa9277d0cdb3a2da82675fe10a4f4be8f20c74b Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Mon, 26 Sep 2022 12:02:28 -0700 Subject: [PATCH] cmd/tarocli: fix help fall through for assets send 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. --- cmd/tarocli/assets.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/tarocli/assets.go b/cmd/tarocli/assets.go index 5d8550401..70cc66721 100644 --- a/cmd/tarocli/assets.go +++ b/cmd/tarocli/assets.go @@ -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 }