1
0
镜像自地址 https://github.com/beego/bee.git 已同步 2025-07-17 18:22:17 +00:00

Merge pull request #104 from kyle-wang/master

fix error msg when use command "bee api" bug missing the Argument
这个提交包含在:
astaxie
2015-03-06 17:29:53 +08:00
当前提交 73874efe19

查看文件

@@ -547,6 +547,10 @@ func init() {
func createapi(cmd *Command, args []string) int {
curpath, _ := os.Getwd()
if len(args) < 1 {
ColorLog("[ERRO] Argument [appname] is missing\n")
os.Exit(2)
}
if len(args) > 1 {
cmd.Flag.Parse(args[1:])
}