Merge pull request #8241 from rjan90/master
fix: cli: add ArgsUsage field to clientGetDealCmd
This commit is contained in:
commit
7123b29f06
@ -1915,6 +1915,7 @@ type deal struct {
|
|||||||
var clientGetDealCmd = &cli.Command{
|
var clientGetDealCmd = &cli.Command{
|
||||||
Name: "get-deal",
|
Name: "get-deal",
|
||||||
Usage: "Print detailed deal information",
|
Usage: "Print detailed deal information",
|
||||||
|
ArgsUsage: "[proposalCID]",
|
||||||
Action: func(cctx *cli.Context) error {
|
Action: func(cctx *cli.Context) error {
|
||||||
if !cctx.Args().Present() {
|
if !cctx.Args().Present() {
|
||||||
return cli.ShowCommandHelp(cctx, cctx.Command.Name)
|
return cli.ShowCommandHelp(cctx, cctx.Command.Name)
|
||||||
|
@ -770,7 +770,7 @@ NAME:
|
|||||||
lotus client get-deal - Print detailed deal information
|
lotus client get-deal - Print detailed deal information
|
||||||
|
|
||||||
USAGE:
|
USAGE:
|
||||||
lotus client get-deal [command options] [arguments...]
|
lotus client get-deal [command options] [proposalCID]
|
||||||
|
|
||||||
CATEGORY:
|
CATEGORY:
|
||||||
STORAGE
|
STORAGE
|
||||||
|
Loading…
Reference in New Issue
Block a user