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
commit 7123b29f06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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

@ -770,7 +770,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