Merge pull request #8241 from rjan90/master

fix: cli: add ArgsUsage field to clientGetDealCmd
This commit is contained in:
Łukasz Magiera
2022-03-17 12:19:49 +01:00
committed by GitHub
2 changed files with 4 additions and 3 deletions
+3 -2
View File
@@ -1913,8 +1913,9 @@ type deal struct {
}
var clientGetDealCmd = &cli.Command{
Name: "get-deal",
Usage: "Print detailed deal information",
Name: "get-deal",
Usage: "Print detailed deal information",
ArgsUsage: "[proposalCID]",
Action: func(cctx *cli.Context) error {
if !cctx.Args().Present() {
return cli.ShowCommandHelp(cctx, cctx.Command.Name)