improve help content printing for package gcmd

This commit is contained in:
John Guo
2021-12-17 15:47:48 +08:00
parent 0b05c9e3e7
commit 3658faafae

View File

@ -189,8 +189,9 @@ func (c *Command) Print() {
buffer.WriteString(lineStr)
buffer.WriteString("\n")
}
fmt.Println(buffer.String())
content := buffer.String()
content = gstr.Replace(content, "\t", " ")
fmt.Println(content)
}
type printLineBriefInput struct {