Merge pull request #239 from mxk/plugin-fix
authorPetteri Aimonen <jpa@github.mail.kapsi.fi>
Sat, 21 Jan 2017 07:20:26 +0000 (09:20 +0200)
committerGitHub <noreply@github.com>
Sat, 21 Jan 2017 07:20:26 +0000 (09:20 +0200)
Fix documentation for protoc --plugin argument

generator/protoc-gen-nanopb
generator/protoc-gen-nanopb.bat

index 358f97c..471a620 100755 (executable)
@@ -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
index 7624984..e6cf187 100644 (file)
@@ -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