Skip to content

Commit ec499c0

Browse files
committed
Update README to reflect changes in grpcio usage instructions
1 parent f2969e0 commit ec499c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -538,13 +538,13 @@ protoc \
538538

539539
### Using grpcio library instead of grpclib
540540

541-
In order to use the `grpcio` library instead of `grpclib`, you can use the `--custom_opt=USE_GRPCIO`
541+
In order to use the `grpcio` library instead of `grpclib`, you can use the `--python_betterproto_opt=USE_GRPCIO`
542542
option when running the `protoc` command.
543543
This will generate stubs compatible with the `grpcio` library.
544544

545545
Example:
546546
```sh
547-
protoc --custom_opt=USE_GRPCIO -I . --custom_out=generated --plugin=protoc-gen-custom=src/betterproto/plugin/main.py demo.proto
547+
protoc -I . --python_betterproto_out=. --python_betterproto_opt=USE_GRPCIO demo.proto
548548
```
549549
### TODO
550550

0 commit comments

Comments
 (0)