Quellcode durchsuchen

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 vor 3 Jahren
Ursprung
Commit
4a1fab11cc
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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
 ```