Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nanopb/nanopb.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Khitrov <max@mxcrypt.com>2017-01-21 02:25:10 +0300
committerMaxim Khitrov <max@mxcrypt.com>2017-01-21 02:25:10 +0300
commita5a341f151e12f7048ea92c1bfb1beb11831a8ef (patch)
tree75336fc9a7f724f99c05cd5729b35c97e373de80
parentffe4aff87cc3a15863c09aa808adf2381c8f2fb7 (diff)
Fix documentation for protoc --plugin argument
-rwxr-xr-xgenerator/protoc-gen-nanopb2
-rw-r--r--generator/protoc-gen-nanopb.bat2
2 files changed, 2 insertions, 2 deletions
diff --git a/generator/protoc-gen-nanopb b/generator/protoc-gen-nanopb
index 358f97c..471a620 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 7624984..e6cf187 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