File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -298,14 +298,11 @@ $ %s debug addr cosmos1e0jnq2sun3dzjh8p2xq95kk0expwmd7shwjpfg
298
298
299
299
func RawBytesCmd () * cobra.Command {
300
300
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 ),
309
306
RunE : func (_ * cobra.Command , args []string ) error {
310
307
stringBytes := args [0 ]
311
308
stringBytes = strings .Trim (stringBytes , "[" )
You can’t perform that action at this time.
0 commit comments