[Tile-serving] [openstreetmap/osm2pgsql] Split command line parser code from options (PR #1982)

Jochen Topf notifications at github.com
Sat Jun 24 09:52:25 UTC 2023


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.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/osm2pgsql/pull/1982

-- Commit Summary --

  * Split command line parser code from options

-- File Changes --

    M src/CMakeLists.txt (2)
    R src/command-line-parser.cpp (212)
    A src/command-line-parser.hpp (32)
    M src/middle-pgsql.hpp (1)
    M src/middle-ram.hpp (1)
    M src/middle.hpp (2)
    M src/options.hpp (33)
    M src/osm2pgsql.cpp (7)
    M src/osmdata.hpp (2)
    M src/output-flex.hpp (2)
    M src/tagtransform.hpp (2)
    M tests/test-options-parse.cpp (15)
    M tests/test-options-projection.cpp (7)

-- Patch Links --

https://github.com/openstreetmap/osm2pgsql/pull/1982.patch
https://github.com/openstreetmap/osm2pgsql/pull/1982.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/1982
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/osm2pgsql/pull/1982 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20230624/6468605d/attachment-0001.htm>


More information about the Tile-serving mailing list