chore: export fetch cli command

This commit is contained in:
frrist 2021-03-23 16:27:34 -07:00
parent b34db8e432
commit a74e02e362
2 changed files with 3 additions and 3 deletions

View File

@ -60,7 +60,7 @@ var CommonCommands = []*cli.Command{
AuthCmd, AuthCmd,
LogCmd, LogCmd,
WaitApiCmd, WaitApiCmd,
fetchParamCmd, FetchParamCmd,
PprofCmd, PprofCmd,
VersionCmd, VersionCmd,
} }
@ -77,7 +77,7 @@ var Commands = []*cli.Command{
WithCategory("developer", ChainCmd), WithCategory("developer", ChainCmd),
WithCategory("developer", LogCmd), WithCategory("developer", LogCmd),
WithCategory("developer", WaitApiCmd), WithCategory("developer", WaitApiCmd),
WithCategory("developer", fetchParamCmd), WithCategory("developer", FetchParamCmd),
WithCategory("network", NetCmd), WithCategory("network", NetCmd),
WithCategory("network", SyncCmd), WithCategory("network", SyncCmd),
PprofCmd, PprofCmd,

View File

@ -9,7 +9,7 @@ import (
"github.com/filecoin-project/lotus/build" "github.com/filecoin-project/lotus/build"
) )
var fetchParamCmd = &cli.Command{ var FetchParamCmd = &cli.Command{
Name: "fetch-params", Name: "fetch-params",
Usage: "Fetch proving parameters", Usage: "Fetch proving parameters",
ArgsUsage: "[sectorSize]", ArgsUsage: "[sectorSize]",