Skip to content

Commit

Permalink
Split command line parser code from options
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
joto committed Jun 28, 2023
1 parent ea1feb2 commit 53a143d
Show file tree
Hide file tree
Showing 13 changed files with 237 additions and 210 deletions.
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
add_library(osm2pgsql_lib STATIC)

target_sources(osm2pgsql_lib PRIVATE
command-line-parser.cpp
db-copy.cpp
debug-output.cpp
dependency-manager.cpp
Expand All @@ -20,7 +21,6 @@ target_sources(osm2pgsql_lib PRIVATE
middle-ram.cpp
node-locations.cpp
node-persistent-cache.cpp
options.cpp
ordered-index.cpp
osmdata.cpp
output-gazetteer.cpp
Expand Down
Loading

0 comments on commit 53a143d

Please sign in to comment.