chore: export pprof cli commands

This commit is contained in:
frrist 2021-03-23 16:26:59 -07:00
parent 1d50cdd85a
commit b34db8e432
2 changed files with 3 additions and 3 deletions

View File

@ -61,7 +61,7 @@ var CommonCommands = []*cli.Command{
LogCmd,
WaitApiCmd,
fetchParamCmd,
pprofCmd,
PprofCmd,
VersionCmd,
}
@ -80,7 +80,7 @@ var Commands = []*cli.Command{
WithCategory("developer", fetchParamCmd),
WithCategory("network", NetCmd),
WithCategory("network", SyncCmd),
pprofCmd,
PprofCmd,
VersionCmd,
}

View File

@ -11,7 +11,7 @@ import (
"github.com/filecoin-project/lotus/node/repo"
)
var pprofCmd = &cli.Command{
var PprofCmd = &cli.Command{
Name: "pprof",
Hidden: true,
Subcommands: []*cli.Command{