1
0
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:
Unknown
2013-08-15 15:24:23 +08:00
parent a6840ebafd
commit 055609f64d
4 changed files with 22 additions and 9 deletions

3
run.go
View File

@ -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()