From 0fc06f14104b33f36839d59f5e3d88bf7d179c41 Mon Sep 17 00:00:00 2001 From: lilasxie Date: Thu, 12 Sep 2024 15:08:12 +0800 Subject: [PATCH] docs(client/debug): correct `debug raw-bytes` command example (#21671) --- client/debug/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/debug/main.go b/client/debug/main.go index 2c3a869f64f1..fdfb32cbdd23 100644 --- a/client/debug/main.go +++ b/client/debug/main.go @@ -307,7 +307,7 @@ func RawBytesCmd() *cobra.Command { Use: "raw-bytes ", Short: "Convert raw bytes output (eg. [10 21 13 255]) to hex", Long: "Convert raw-bytes to hex.", - Example: fmt.Sprintf("%s debug raw-bytes [72 101 108 108 111 44 32 112 108 97 121 103 114 111 117 110 100]", version.AppName), + Example: fmt.Sprintf("%s debug raw-bytes '[72 101 108 108 111 44 32 112 108 97 121 103 114 111 117 110 100]'", version.AppName), Args: cobra.ExactArgs(1), RunE: func(_ *cobra.Command, args []string) error { stringBytes := args[0]