mirror of
https://github.com/beego/bee.git
synced 2025-07-05 18:20:18 +00:00
Update color ouput
This commit is contained in:
3
run.go
3
run.go
@ -68,7 +68,8 @@ var conf struct {
|
||||
func runApp(cmd *Command, args []string) {
|
||||
exit := make(chan bool)
|
||||
if len(args) != 1 {
|
||||
colorLog("[ERRO] Argument [appname] is missing\n")
|
||||
colorLog("[ERRO] Cannot start running[ %s ]\n",
|
||||
"argument 'appname' is missing")
|
||||
os.Exit(2)
|
||||
}
|
||||
crupath, _ := os.Getwd()
|
||||
|
Reference in New Issue
Block a user