From: Petteri Aimonen Date: Sat, 21 Jan 2017 07:20:26 +0000 (+0200) Subject: Merge pull request #239 from mxk/plugin-fix X-Git-Tag: 5.0.2~186^2~30^2 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=a5d90990263b3171cc699315e69d0e09f6a420ad;hp=ffe4aff87cc3a15863c09aa808adf2381c8f2fb7;p=apps%2Fagl-service-can-low-level.git Merge pull request #239 from mxk/plugin-fix Fix documentation for protoc --plugin argument --- diff --git a/generator/protoc-gen-nanopb b/generator/protoc-gen-nanopb index 358f97cf..471a620b 100755 --- a/generator/protoc-gen-nanopb +++ b/generator/protoc-gen-nanopb @@ -3,7 +3,7 @@ # This file is used to invoke nanopb_generator.py as a plugin # to protoc on Linux and other *nix-style systems. # Use it like this: -# protoc --plugin=nanopb=..../protoc-gen-nanopb --nanopb_out=dir foo.proto +# protoc --plugin=protoc-gen-nanopb=..../protoc-gen-nanopb --nanopb_out=dir foo.proto # # Note that if you use the binary package of nanopb, the protoc # path is already set up properly and there is no need to give diff --git a/generator/protoc-gen-nanopb.bat b/generator/protoc-gen-nanopb.bat index 7624984e..e6cf187f 100644 --- a/generator/protoc-gen-nanopb.bat +++ b/generator/protoc-gen-nanopb.bat @@ -2,7 +2,7 @@ :: This file is used to invoke nanopb_generator.py as a plugin :: to protoc on Windows. :: Use it like this: -:: protoc --plugin=nanopb=..../protoc-gen-nanopb.bat --nanopb_out=dir foo.proto +:: protoc --plugin=protoc-gen-nanopb=..../protoc-gen-nanopb.bat --nanopb_out=dir foo.proto :: :: Note that if you use the binary package of nanopb, the protoc :: path is already set up properly and there is no need to give