From 069fd0a24429706cc1079aa91bee82943a137827 Mon Sep 17 00:00:00 2001 From: Aayush Rajasekaran Date: Sat, 3 Jul 2021 12:41:43 -0400 Subject: [PATCH] Add helptext to lotus chain export --- cli/chain.go | 4 +++- documentation/en/cli-lotus.md | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/cli/chain.go b/cli/chain.go index 0fca73406..e30a685dd 100644 --- a/cli/chain.go +++ b/cli/chain.go @@ -1030,7 +1030,9 @@ var ChainExportCmd = &cli.Command{ ArgsUsage: "[outputPath]", Flags: []cli.Flag{ &cli.StringFlag{ - Name: "tipset", + Name: "tipset", + Usage: "specify tipset to start the export from", + Value: "@head", }, &cli.Int64Flag{ Name: "recent-stateroots", diff --git a/documentation/en/cli-lotus.md b/documentation/en/cli-lotus.md index 41268f207..c4c63aab1 100644 --- a/documentation/en/cli-lotus.md +++ b/documentation/en/cli-lotus.md @@ -2140,7 +2140,7 @@ USAGE: lotus chain export [command options] [outputPath] 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) --skip-old-msgs (default: false) --help, -h show help (default: false)