Skip to content

Commit 216d409

Browse files
pefoley2copybara-github
authored andcommitted
Add a newline to the edition error message.
PiperOrigin-RevId: 809235619
1 parent 5aa66d1 commit 216d409

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/google/protobuf/compiler/command_line_interface.cc

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2707,9 +2707,11 @@ bool CommandLineInterface::EnforceProtocEditionsSupport(
27072707

27082708
if (edition > ProtocMaximumEdition()) {
27092709
std::cerr << absl::Substitute(
2710-
"$0: is a file using edition $1, which is later than the protoc "
2711-
"maximum supported edition $2.",
2712-
fd->name(), edition, ProtocMaximumEdition());
2710+
"$0: is a file using edition $1, which is later than "
2711+
"the protoc "
2712+
"maximum supported edition $2.",
2713+
fd->name(), edition, ProtocMaximumEdition())
2714+
<< std::endl;
27132715
return false;
27142716
}
27152717
}

0 commit comments

Comments
 (0)