Skip to content

Commit c588f5a

Browse files
authored
Merge pull request #2242 from joto/fix-version-output
Add missing return in version output
2 parents 53fd9cc + 62f77d3 commit c588f5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/command-line-parser.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ void check_options_expire(options_t *options) {
259259

260260
void print_version()
261261
{
262-
fmt::print(stderr, "osm2pgsql version {}", get_osm2pgsql_version());
262+
fmt::print(stderr, "osm2pgsql version {}\n", get_osm2pgsql_version());
263263
fmt::print(stderr, "Build: {}\n", get_build_type());
264264
fmt::print(stderr, "Compiled using the following library versions:\n");
265265
fmt::print(stderr, "Libosmium {}\n", LIBOSMIUM_VERSION_STRING);

0 commit comments

Comments
 (0)