fix: cli: add ArgsUsage field to clientGetDealCmd

Adds [proposalCID] as ArgsUsage field in the 'lotus client get-deal' command. Fixes #8133
This commit is contained in:
Rjan 2022-03-03 15:40:16 +01:00
parent 6b06c1b5d3
commit c5dc898ed0
2 changed files with 4 additions and 3 deletions

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)

View File

@ -776,7 +776,7 @@ NAME:
lotus client get-deal - Print detailed deal information
USAGE:
lotus client get-deal [command options] [arguments...]
lotus client get-deal [command options] [proposalCID]
CATEGORY:
STORAGE