Skip to content

Commit

Permalink
Fix documentation for protoc --plugin argument
Browse files Browse the repository at this point in the history
  • Loading branch information
mxk committed Jan 20, 2017
1 parent ffe4aff commit a5a341f
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 a5a341f

Please sign in to comment.