Add cmd to subcommand list

This commit is contained in:
whyrusleeping 2019-10-10 12:59:32 +09:00
parent acec79cf3f
commit 4eaaefce09

View File

@ -21,6 +21,7 @@ var chainCmd = &cli.Command{
chainGetBlock, chainGetBlock,
chainReadObjCmd, chainReadObjCmd,
chainGetMsgCmd, chainGetMsgCmd,
chainSetHeadCmd,
}, },
} }
@ -206,7 +207,7 @@ var chainGetMsgCmd = &cli.Command{
}, },
} }
var chainSetHead = &cli.Command{ var chainSetHeadCmd = &cli.Command{
Name: "sethead", Name: "sethead",
Usage: "manually set the local nodes head tipset (Caution: normally only used for recovery)", Usage: "manually set the local nodes head tipset (Caution: normally only used for recovery)",
Action: func(cctx *cli.Context) error { Action: func(cctx *cli.Context) error {