These three commits add various checks for combinations of command line options which make no sense and so should not be used. For most of these warnings about ignored options are printed (which we can turn into hard fails in a later version of osm2pgsql). For the projection setting options (--latlong, -l, --merc, -m, --proj, and -E) an error is produced, because results are undefined if they are used together.
These three commits add various checks for combinations of command line options which make no sense and so should not be used. For most of these warnings about ignored options are printed (which we can turn into hard fails in a later version of osm2pgsql). For the projection setting options (--latlong, -l, --merc, -m, --proj, and -E) an error is produced, because results are undefined if they are used together.
See individual commits.
Fixes #142