Просмотр исходного кода

Remove invalid command line args from the example (#1496)

These two args has been removed since 1.8 and is on by default. Passing in these two args will result in the grpc stub not being generated at all.
Photon cat 3 лет назад
Родитель
Сommit
4a1fab11cc
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      docs/basic-tutorial.md

+ 1 - 1
docs/basic-tutorial.md

@@ -167,7 +167,7 @@ $ protoc Sources/Examples/RouteGuide/Model/route_guide.proto \
     --swift_opt=Visibility=Public \
     --swift_out=Sources/Examples/RouteGuide/Model \
     --plugin=./.build/debug/protoc-gen-grpc-swift \
-    --grpc-swift_opt=Visibility=Public,AsyncClient=True,AsyncServer=True \
+    --grpc-swift_opt=Visibility=Public \
     --grpc-swift_out=Sources/Examples/RouteGuide/Model
 ```