From a5a341f151e12f7048ea92c1bfb1beb11831a8ef Mon Sep 17 00:00:00 2001 From: Maxim Khitrov Date: Fri, 20 Jan 2017 18:25:10 -0500 Subject: Fix documentation for protoc --plugin argument --- generator/protoc-gen-nanopb | 2 +- generator/protoc-gen-nanopb.bat | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'generator') 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 -- cgit 1.2.3-korg