1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-01-28 03:57:02 +02:00

chore: completion command in the comment (#1680)

This commit is contained in:
Richard 2021-12-09 23:24:39 +08:00 committed by GitHub
parent 83ebf53b93
commit c9e19f1d98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,7 +18,7 @@ var CmdAdd = &cobra.Command{
}
func run(cmd *cobra.Command, args []string) {
// kratos add helloworld/v1/helloworld.proto
// kratos proto add helloworld/v1/helloworld.proto
input := args[0]
n := strings.LastIndex(input, "/")
if n == -1 {