Add a newline to the edition error message.
PiperOrigin-RevId: 809235619
diff --git a/src/google/protobuf/compiler/command_line_interface.cc b/src/google/protobuf/compiler/command_line_interface.cc
index 18fbf5e..20b2738 100644
--- a/src/google/protobuf/compiler/command_line_interface.cc
+++ b/src/google/protobuf/compiler/command_line_interface.cc
@@ -2707,9 +2707,11 @@
if (edition > ProtocMaximumEdition()) {
std::cerr << absl::Substitute(
- "$0: is a file using edition $1, which is later than the protoc "
- "maximum supported edition $2.",
- fd->name(), edition, ProtocMaximumEdition());
+ "$0: is a file using edition $1, which is later than "
+ "the protoc "
+ "maximum supported edition $2.",
+ fd->name(), edition, ProtocMaximumEdition())
+ << std::endl;
return false;
}
}