diff options
author | Bo Yang <paulyang1211@gmail.com> | 2015-02-04 13:42:16 -0800 |
---|---|---|
committer | Bo Yang <paulyang1211@gmail.com> | 2015-02-04 13:42:16 -0800 |
commit | 3edcbaf57a3dc3bc60a9c8e80e9edac813d86b1d (patch) | |
tree | 07ffed271b7026195d7685361c953409e486bdad /src/google/protobuf/compiler/command_line_interface.h | |
parent | 2e32b8b569f316acc405a36dfad2c742438cb41f (diff) |
Clean code
Diffstat (limited to 'src/google/protobuf/compiler/command_line_interface.h')
-rw-r--r-- | src/google/protobuf/compiler/command_line_interface.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/google/protobuf/compiler/command_line_interface.h b/src/google/protobuf/compiler/command_line_interface.h index 13e93c54..92c578c8 100644 --- a/src/google/protobuf/compiler/command_line_interface.h +++ b/src/google/protobuf/compiler/command_line_interface.h @@ -247,10 +247,10 @@ class LIBPROTOC_EXPORT CommandLineInterface { // Implements the --descriptor_set_out option. bool WriteDescriptorSet(const vector<const FileDescriptor*> parsed_files); - // Implements the --manifest-file option + // Implements the --dependency_out option bool GenerateDependencyManifestFile( - const vector<const FileDescriptor*> parsed_files, - DiskSourceTree * source_tree); + const vector<const FileDescriptor*>& parsed_files, + DiskSourceTree* source_tree); // Get all transitive dependencies of the given file (including the file // itself), adding them to the given list of FileDescriptorProtos. The @@ -360,7 +360,7 @@ class LIBPROTOC_EXPORT CommandLineInterface { // If --dependency_out was given, this is the filename to which the input file // should be written. Otherwise, empty. - string dependency_manifest_name_; + string dependency_out_name_; // True if --include_imports was given, meaning that we should // write all transitive dependencies to the DescriptorSet. Otherwise, only |