上传cmd 命令集代码日志优化
This commit is contained in:
parent
5cec318799
commit
714d3b7a42
@ -92,7 +92,7 @@ func main() {
|
||||
//执行命令
|
||||
func Execute() {
|
||||
if err := RootCmd.Execute(); err != nil {
|
||||
fmt.Fprintln(os.Stdin, err)
|
||||
log.Errorln(err)
|
||||
os.Exit(1)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user