forked from TrueCloudLab/neoneo-go
cli: use TAB as delimiter in vm parse
Make it simpler to use result in pipes: neo-go vm parse 123 | rg "Integer to Hex" | cut -f1- | sed -r 's/\t//g'
This commit is contained in:
parent
227c6a2caa
commit
7e3813a88f
1 changed files with 1 additions and 1 deletions
|
@ -500,7 +500,7 @@ func Parse(args []string) (string, error) {
|
|||
|
||||
out := buf.Bytes()
|
||||
buf = bytes.NewBuffer(nil)
|
||||
w := tabwriter.NewWriter(buf, 0, 0, 4, ' ', 0)
|
||||
w := tabwriter.NewWriter(buf, 0, 4, 4, '\t', 0)
|
||||
if _, err := w.Write(out); err != nil {
|
||||
return "", err
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue