[Tile-serving] [openstreetmap/osm2pgsql] Use parse_*_param() funcs to parse command line option parameters (PR #1857)

Jochen Topf notifications at github.com
Thu Dec 22 09:27:53 UTC 2022


Use consistently named functions parse_*_param() for all parameters of command line options that are more complex to parse. And test them!

Also add print_version() function.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Use parse_*_param() funcs to parse command line option parameters

-- File Changes --

    M src/options.cpp (307)
    M tests/test-options-parse.cpp (86)

-- Patch Links --

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

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

Message ID: <openstreetmap/osm2pgsql/pull/1857 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20221222/b6ec1d31/attachment.htm>


More information about the Tile-serving mailing list