Skip to content

Commit cc43373

Browse files
committed
Twiddle formatting of --version output
1 parent cb5cd51 commit cc43373

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).
1616
- Various small fixes and cleanups.
1717
- Now depends on libosmium 2.16.0 or greater. This allows compiling with
1818
support for PBF lz4 compression which is enabled by default if the
19-
library is found. Disable by setting CMake option WITH_LZ4 to OFF.
19+
library is found. Disable by setting CMake option `WITH_LZ4` to `OFF`.
2020

2121
### Fixed
2222

src/options.cpp

+3-2
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,9 @@ Options::Options(int argc, char* argv[]) {
172172
verbose = true;
173173
break;
174174
case 'V':
175-
std::cout << "osmcoastline " << get_osmcoastline_long_version() << " / " << get_libosmium_version() << '\n'
176-
<< "PBF compression types:";
175+
std::cout << "osmcoastline " << get_osmcoastline_long_version() << "\n"
176+
<< get_libosmium_version() << '\n'
177+
<< "Supported PBF compression types:";
177178
for (const auto& type : osmium::io::supported_pbf_compression_types()) {
178179
std::cout << " " << type;
179180
}

0 commit comments

Comments
 (0)