Skip to content

Commit

Permalink
Merge pull request nanopb#239 from mxk/plugin-fix
Browse files Browse the repository at this point in the history
Fix documentation for protoc --plugin argument
  • Loading branch information
PetteriAimonen authored Jan 21, 2017
2 parents ffe4aff + a5a341f commit a5d9099
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion generator/protoc-gen-nanopb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion generator/protoc-gen-nanopb.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a5d9099

Please sign in to comment.