Fix documentation for protoc --plugin argument
authorMaxim Khitrov <max@mxcrypt.com>
Fri, 20 Jan 2017 23:25:10 +0000 (18:25 -0500)
committerMaxim Khitrov <max@mxcrypt.com>
Fri, 20 Jan 2017 23:25:10 +0000 (18:25 -0500)
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