chore: completion command in the comment (#1680)

pull/1681/head
Richard 3 years ago committed by GitHub
parent 83ebf53b93
commit c9e19f1d98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      cmd/kratos/internal/proto/add/add.go

@ -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 {

Loading…
Cancel
Save