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:
parent
6b06c1b5d3
commit
c5dc898ed0
@ -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)
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user