From b2aa804e50020d73f2529fe5a814c559a09440f6 Mon Sep 17 00:00:00 2001 From: tutufen Date: Fri, 4 Oct 2024 15:11:55 +0800 Subject: [PATCH] docs(server): fix `comet bootstrap-state` command example (#22106) --- server/cmt_cmds.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/cmt_cmds.go b/server/cmt_cmds.go index e4c84364dd..d511cc1056 100644 --- a/server/cmt_cmds.go +++ b/server/cmt_cmds.go @@ -368,7 +368,7 @@ func BootstrapStateCmd[T types.Application](appCreator types.AppCreator[T]) *cob Use: "bootstrap-state", Short: "Bootstrap CometBFT state at an arbitrary block height using a light client", Args: cobra.NoArgs, - Example: fmt.Sprintf("%s bootstrap-state --height 1000000", version.AppName), + Example: "bootstrap-state --height 1000000", RunE: func(cmd *cobra.Command, args []string) error { serverCtx := GetServerContextFromCmd(cmd) logger := log.NewLogger(cmd.OutOrStdout())