docs(server): fix comet bootstrap-state command example (backport #22106) (#22122)

Co-authored-by: tutufen <tutufen@outlook.com>
This commit is contained in:
mergify[bot] 2024-10-04 10:03:00 +02:00 committed by GitHub
parent 19e1e3f553
commit bbdee5cfdf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -367,7 +367,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())