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, LogCmd,
WaitApiCmd, WaitApiCmd,
fetchParamCmd, fetchParamCmd,
pprofCmd, PprofCmd,
VersionCmd, VersionCmd,
} }
@ -80,7 +80,7 @@ var Commands = []*cli.Command{
WithCategory("developer", fetchParamCmd), WithCategory("developer", fetchParamCmd),
WithCategory("network", NetCmd), WithCategory("network", NetCmd),
WithCategory("network", SyncCmd), WithCategory("network", SyncCmd),
pprofCmd, PprofCmd,
VersionCmd, VersionCmd,
} }

View File

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