1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-03-17 21:07:54 +02:00

Merge pull request #338 from netroby/pr/mr-tips-create-new-project

Tips: please enter a project name you want to create
This commit is contained in:
Terry.Mao 2019-09-22 22:32:24 +08:00 committed by GitHub
commit 743c343e09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,7 @@ import (
func runNew(ctx *cli.Context) error {
if len(ctx.Args()) == 0 {
return errors.New("required project name")
return errors.New("project name required, please enter a project name you want to create")
}
p.Name = ctx.Args()[0]