From 7b17292b8524cd9d5bac795fa3efba72f81cf90b Mon Sep 17 00:00:00 2001 From: lilasxie Date: Mon, 9 Sep 2024 15:09:44 +0800 Subject: [PATCH] docs(client/debug): fix help message of `debug raw-bytes` command --- 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 0cce37d16cd1..024196563f5f 100644 --- a/client/debug/main.go +++ b/client/debug/main.go @@ -306,7 +306,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]