Skip to content

Commit

Permalink
命令行工具增加控制输出
Browse files Browse the repository at this point in the history
  • Loading branch information
sxmxta committed Sep 5, 2023
1 parent 7bc1f43 commit e3be96a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/command/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func (m *CMD) Command(name string, args ...string) {
if m.MessageCallback != nil {
m.MessageCallback(byt, nil)
} else {
if !m.IsPrint {
if m.IsPrint {
fmt.Println("line:", string(byt), b)
}
}
Expand Down

0 comments on commit e3be96a

Please sign in to comment.