commit | cdbb60c7b6dc1c64745e1ce0b0905f3a876a9a1b | [log] [tgz] |
---|---|---|
author | Yang Gao <yangg@google.com> | Tue Feb 24 15:01:36 2015 -0800 |
committer | Yang Gao <yangg@google.com> | Tue Feb 24 15:01:36 2015 -0800 |
tree | 6afc5ec7a3735e90ff4998b410d0b689173e76c9 | |
parent | 74c9ddcd3316f916f4b3f6d5a3e21501148f6ff5 [diff] [blame] |
Add missing protoc command
diff --git a/cpp/cpptutorial.md b/cpp/cpptutorial.md index af6b6b1..338e1e7 100644 --- a/cpp/cpptutorial.md +++ b/cpp/cpptutorial.md
@@ -101,7 +101,9 @@ which actually runs: -[actual command] +```shell +$ protoc -I ../../protos --cpp_out=. --grpc_out=. --plugin=protoc-gen-grpc=`which grpc_cpp_plugin` ../../protos/route_guide.proto +``` Running this command generates the following files: - `route_guide.pb.h`, the header which declares your generated classes