Skip to content

Commit 53a143d

Browse files
committed
Split command line parser code from options
Removes all code from the options_t class and makes it into a simple struct. All code parsing and checking the command line is now in command-line-parser.hpp/cpp.
1 parent ea1feb2 commit 53a143d

13 files changed

+237
-210
lines changed

src/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
add_library(osm2pgsql_lib STATIC)
33

44
target_sources(osm2pgsql_lib PRIVATE
5+
command-line-parser.cpp
56
db-copy.cpp
67
debug-output.cpp
78
dependency-manager.cpp
@@ -20,7 +21,6 @@ target_sources(osm2pgsql_lib PRIVATE
2021
middle-ram.cpp
2122
node-locations.cpp
2223
node-persistent-cache.cpp
23-
options.cpp
2424
ordered-index.cpp
2525
osmdata.cpp
2626
output-gazetteer.cpp

0 commit comments

Comments
 (0)