Skip to content

Commit 122ea06

Browse files
committed
Fix help message for LZ4 compilation.
As mentioned in drolbr#374 (comment) I'm adding missing lz4 information.
1 parent 1bb8a8e commit 122ea06

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/overpass_api/osm-backend/update_database.cc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,13 @@ int main(int argc, char* argv[])
111111
}
112112
if (abort)
113113
{
114+
#ifdef HAVE_LZ4
115+
std::cerr<<"Usage: "<<argv[0]<<" [--db-dir=DIR] [--version=VER] [--meta|--keep-attic] [--flush_size=FLUSH_SIZE]"
116+
" [--compression_method=(no|gz|lz4)]\n";
117+
#else
114118
std::cerr<<"Usage: "<<argv[0]<<" [--db-dir=DIR] [--version=VER] [--meta|--keep-attic] [--flush_size=FLUSH_SIZE]"
115119
" [--compression_method=(no|gz)]\n";
120+
#endif
116121
return 0;
117122
}
118123

0 commit comments

Comments
 (0)