1
0
mirror of https://github.com/go-kratos/kratos.git synced 2026-05-22 10:15:24 +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
+1 -1
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 {