diff --git a/grpc/scripts/gen.bat b/grpc/scripts/gen.bat index bf9046f..1c2e3ec 100644 --- a/grpc/scripts/gen.bat +++ b/grpc/scripts/gen.bat @@ -18,7 +18,7 @@ for %%A in (%*) do ( set out=%gen%\go if not exist !out! mkdir !out! echo Generating Go code - !exec! --go-grpc_out=!out! --govalidators_out=!out! %pbs% + !exec! --go_out=!out! --go-grpc_out=!out! --govalidators_out=!out! %pbs% ) if "%%A"=="gohttp" ( set plugin=protoc-gen-grpc-gateway diff --git a/grpc/scripts/gen.sh b/grpc/scripts/gen.sh index 9925e19..46e6954 100755 --- a/grpc/scripts/gen.sh +++ b/grpc/scripts/gen.sh @@ -46,7 +46,7 @@ do mkdir -p $out fi echo "Generating Go code" - $exec --go-grpc_out=$out --govalidators_out=$out $pb_files $async_tag + $exec --go_out=$out --go-grpc_out=$out --govalidators_out=$out $pb_files $async_tag fi if [ $aug == "gohttp" ]; then plugin=protoc-gen-grpc-gateway