Add helptext to lotus chain export

This commit is contained in:
Aayush Rajasekaran 2021-07-03 12:41:43 -04:00
parent 13d4563c25
commit 069fd0a244
2 changed files with 4 additions and 2 deletions

View File

@ -1031,6 +1031,8 @@ var ChainExportCmd = &cli.Command{
Flags: []cli.Flag{ Flags: []cli.Flag{
&cli.StringFlag{ &cli.StringFlag{
Name: "tipset", Name: "tipset",
Usage: "specify tipset to start the export from",
Value: "@head",
}, },
&cli.Int64Flag{ &cli.Int64Flag{
Name: "recent-stateroots", Name: "recent-stateroots",

View File

@ -2140,7 +2140,7 @@ USAGE:
lotus chain export [command options] [outputPath] lotus chain export [command options] [outputPath]
OPTIONS: OPTIONS:
--tipset value --tipset value specify tipset to start the export from (default: "@head")
--recent-stateroots value specify the number of recent state roots to include in the export (default: 0) --recent-stateroots value specify the number of recent state roots to include in the export (default: 0)
--skip-old-msgs (default: false) --skip-old-msgs (default: false)
--help, -h show help (default: false) --help, -h show help (default: false)