Skip to content

Commit 99392a9

Browse files
lilasxiemergify[bot]
authored andcommitted
docs(client/debug): correct debug raw-bytes command example (#21671)
(cherry picked from commit 0fc06f1) # Conflicts: # client/debug/main.go
1 parent 63a535e commit 99392a9

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

client/debug/main.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,7 @@ $ %s debug addr cosmos1e0jnq2sun3dzjh8p2xq95kk0expwmd7shwjpfg
298298

299299
func RawBytesCmd() *cobra.Command {
300300
return &cobra.Command{
301+
<<<<<<< HEAD
301302
Use: "raw-bytes [raw-bytes]",
302303
Short: "Convert raw bytes output (eg. [10 21 13 255]) to hex",
303304
Long: fmt.Sprintf(`Convert raw-bytes to hex.
@@ -306,6 +307,13 @@ Example:
306307
$ %s debug raw-bytes [72 101 108 108 111 44 32 112 108 97 121 103 114 111 117 110 100]
307308
`, version.AppName),
308309
Args: cobra.ExactArgs(1),
310+
=======
311+
Use: "raw-bytes <raw-bytes>",
312+
Short: "Convert raw bytes output (eg. [10 21 13 255]) to hex",
313+
Long: "Convert raw-bytes to hex.",
314+
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),
315+
Args: cobra.ExactArgs(1),
316+
>>>>>>> 0fc06f141 (docs(client/debug): correct `debug raw-bytes` command example (#21671))
309317
RunE: func(_ *cobra.Command, args []string) error {
310318
stringBytes := args[0]
311319
stringBytes = strings.Trim(stringBytes, "[")

0 commit comments

Comments
 (0)