Skip to content

Commit

Permalink
fix: cli: json flag (#11868)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aloxaf authored and ribasushi committed May 16, 2024
1 parent cca7a32 commit 851e890
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cli/filplus.go
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,11 @@ var filplusListClaimsCmd = &cli.Command{
Name: "expired",
Usage: "list only expired claims",
},
&cli.BoolFlag{
Name: "json",
Usage: "output results in json format",
Value: false,
},
},
Action: func(cctx *cli.Context) error {
if cctx.NArg() > 1 {
Expand Down
1 change: 1 addition & 0 deletions documentation/en/cli-lotus.md
Original file line number Diff line number Diff line change
Expand Up @@ -1297,6 +1297,7 @@ USAGE:
OPTIONS:
--expired list only expired claims (default: false)
--json output results in json format (default: false)
--help, -h show help
```

Expand Down

0 comments on commit 851e890

Please sign in to comment.