Index: third_party/protobuf/src/google/protobuf/compiler/main.cc |
=================================================================== |
--- third_party/protobuf/src/google/protobuf/compiler/main.cc (revision 216642) |
+++ third_party/protobuf/src/google/protobuf/compiler/main.cc (working copy) |
@@ -43,7 +43,7 @@ |
// Proto2 C++ |
google::protobuf::compiler::cpp::CppGenerator cpp_generator; |
- cli.RegisterGenerator("--cpp_out", &cpp_generator, |
+ cli.RegisterGenerator("--cpp_out", "--cpp_opt", &cpp_generator, |
"Generate C++ header and source."); |
// Proto2 Java |