From 4eaaefce09cb841d72679e330f254bb9f086cfe7 Mon Sep 17 00:00:00 2001 From: whyrusleeping Date: Thu, 10 Oct 2019 12:59:32 +0900 Subject: [PATCH] Add cmd to subcommand list --- cli/chain.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cli/chain.go b/cli/chain.go index f88343a1d..13e99ff95 100644 --- a/cli/chain.go +++ b/cli/chain.go @@ -21,6 +21,7 @@ var chainCmd = &cli.Command{ chainGetBlock, chainReadObjCmd, chainGetMsgCmd, + chainSetHeadCmd, }, } @@ -206,7 +207,7 @@ var chainGetMsgCmd = &cli.Command{ }, } -var chainSetHead = &cli.Command{ +var chainSetHeadCmd = &cli.Command{ Name: "sethead", Usage: "manually set the local nodes head tipset (Caution: normally only used for recovery)", Action: func(cctx *cli.Context) error {