Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: cli: add ArgsUsage field to clientGetDealCmd #8241

Merged
merged 2 commits into from Mar 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 3 additions & 2 deletions cli/client.go
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion documentation/en/cli-lotus.md
Expand Up @@ -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
Expand Down