mirror of
https://gitee.com/johng/gf
synced 2026-06-06 16:21:40 +08:00
improve help content printing for package gcmd
This commit is contained in:
@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user