Skip to content

Commit

Permalink
Fix help message for LZ4 compilation.
Browse files Browse the repository at this point in the history
As mentioned in drolbr#374 (comment)
I'm adding missing lz4 information.
  • Loading branch information
wiktorn committed Mar 16, 2017
1 parent 1bb8a8e commit 122ea06
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/overpass_api/osm-backend/update_database.cc
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,13 @@ int main(int argc, char* argv[])
}
if (abort)
{
#ifdef HAVE_LZ4
std::cerr<<"Usage: "<<argv[0]<<" [--db-dir=DIR] [--version=VER] [--meta|--keep-attic] [--flush_size=FLUSH_SIZE]"
" [--compression_method=(no|gz|lz4)]\n";
#else
std::cerr<<"Usage: "<<argv[0]<<" [--db-dir=DIR] [--version=VER] [--meta|--keep-attic] [--flush_size=FLUSH_SIZE]"
" [--compression_method=(no|gz)]\n";
#endif
return 0;
}

Expand Down

0 comments on commit 122ea06

Please sign in to comment.