Skip to content

Commit

Permalink
docs(client/debug): correct debug raw-bytes command example (#21671)
Browse files Browse the repository at this point in the history
  • Loading branch information
lilasxie authored Sep 12, 2024
1 parent 979f885 commit 0fc06f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/debug/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ func RawBytesCmd() *cobra.Command {
Use: "raw-bytes <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]
Expand Down

0 comments on commit 0fc06f1

Please sign in to comment.