Skip to content

Commit 525c63f

Browse files
committed
Squashed commit of the following:
commit f2560c7 Author: W <[email protected]> Date: Fri Mar 17 16:14:07 2017 +0100 Add --map-compression-method to usage message commit c71d26e Author: W <[email protected]> Date: Fri Mar 17 16:00:12 2017 +0100 Fix spelling of parameter name in usage message commit 122ea06 Author: W <[email protected]> Date: Thu Mar 16 22:56:00 2017 +0100 Fix help message for LZ4 compilation. As mentioned in drolbr#374 (comment) I'm adding missing lz4 information.
1 parent 3e184c9 commit 525c63f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/overpass_api/osm-backend/update_database.cc

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,13 @@ int main(int argc, char* argv[])
112112
}
113113
if (abort)
114114
{
115+
#ifdef HAVE_LZ4
116+
std::cerr<<"Usage: "<<argv[0]<<" [--db-dir=DIR] [--version=VER] [--meta|--keep-attic] [--flush_size=FLUSH_SIZE]"
117+
" [--compression-method=(no|gz|lz4)] [--map-compression-method=(no|gz|lz4)]\n";
118+
#else
115119
std::cerr<<"Usage: "<<argv[0]<<" [--db-dir=DIR] [--version=VER] [--meta|--keep-attic] [--flush_size=FLUSH_SIZE]"
116-
" [--compression_method=(no|gz)]\n";
120+
" [--compression-method=(no|gz)] [--map-compression-method=(no|gz)]\n";
121+
#endif
117122
return 0;
118123
}
119124

0 commit comments

Comments
 (0)