File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -298,14 +298,11 @@ $ %s debug addr cosmos1e0jnq2sun3dzjh8p2xq95kk0expwmd7shwjpfg
298298
299299func RawBytesCmd () * cobra.Command {
300300 return & cobra.Command {
301- Use : "raw-bytes [raw-bytes]" ,
302- Short : "Convert raw bytes output (eg. [10 21 13 255]) to hex" ,
303- Long : fmt .Sprintf (`Convert raw-bytes to hex.
304-
305- Example:
306- $ %s debug raw-bytes [72 101 108 108 111 44 32 112 108 97 121 103 114 111 117 110 100]
307- ` , version .AppName ),
308- Args : cobra .ExactArgs (1 ),
301+ Use : "raw-bytes <raw-bytes>" ,
302+ Short : "Convert raw bytes output (eg. [10 21 13 255]) to hex" ,
303+ Long : "Convert raw-bytes to hex." ,
304+ 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 ),
305+ Args : cobra .ExactArgs (1 ),
309306 RunE : func (_ * cobra.Command , args []string ) error {
310307 stringBytes := args [0 ]
311308 stringBytes = strings .Trim (stringBytes , "[" )
You can’t perform that action at this time.
0 commit comments