From f1ad72ec582c5b3e5b2d1b597bcde1ecc6cbd697 Mon Sep 17 00:00:00 2001 From: Ian Cowley <51410533+dufcrule@users.noreply.github.com> Date: Wed, 28 Apr 2021 16:12:40 +0200 Subject: [PATCH] readme: update options examples Updated the example commands for the options you can specify via the command-line to include boolean values. If these are not included the commands do not work. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1709964..b5adf97 100644 --- a/README.md +++ b/README.md @@ -75,11 +75,11 @@ The generator supports options you can specify via the command-line: These can be set as part of the `--go-json_out` value: ``` -protoc --go-json_out=emit_defaults:. +protoc --go-json_out=emit_defaults=true:. ``` You can specify multiple using a `,`: ``` -protoc --go-json_out=enums_as_ints,emit_defaults:. +protoc --go-json_out=enums_as_ints=true,emit_defaults=true:. ```