Skip to content

Commit cb00273

Browse files
Fix name PROTOBUF_OPTS -> BETTERPROTO_OPTS
1 parent 973d68a commit cb00273

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
@@ -360,12 +360,12 @@ $ pipenv run test
360360
Betterproto includes compiled versions for Google's well-known types at [betterproto/lib/google](betterproto/lib/google).
361361
Be sure to regenerate these files when modifying the plugin output format, and validate by running the tests.
362362

363-
Normally, the plugin does not compile any references to `google.protobuf`, since they are pre-compiled. To force compilation of `google.protobuf`, set this environment variable: `PROTOBUF_OPTS=INCLUDE_GOOGLE`.
363+
Normally, the plugin does not compile any references to `google.protobuf`, since they are pre-compiled. To force compilation of `google.protobuf`, set this environment variable: `BETTERPROTO_OPTS=INCLUDE_GOOGLE`.
364364

365365
Assuming your `google.protobuf` source files (included with all releases of `protoc`) are located in `/usr/local/include`, you can regenerate them as follows:
366366

367367
```sh
368-
export PROTOBUF_OPTS=INCLUDE_GOOGLE
368+
export BETTERPROTO_OPTS=INCLUDE_GOOGLE
369369
protoc --plugin=protoc-gen-custom=betterproto/plugin.py --custom_out=betterproto/lib -I/usr/local/include/ /usr/local/include/google/protobuf/*.proto
370370
```
371371

0 commit comments

Comments
 (0)