Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

osm2pgsql accepts multiple conflicting arguments #2810

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment
Closed

osm2pgsql accepts multiple conflicting arguments #2810

openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment

Comments

@openstreetmap-trac
Copy link

Reporter: h4ck3rm1k3
[Submitted to the original trac issue database at 9.16am, Sunday, 21st March 2010]

by accident, I specified the -O twice, but got no warning.
this is bad :
./osm2pgsql -O gazetteer -U gis -H localhost -lsc -O pgsql -C 2000 -d gisdb test.osm.bz2

osm2pgsql should check for duplicate and conflicting arguments, I can make a patch for this if needed.

mike

@openstreetmap-trac
Copy link
Author

Author: lonvia
[Added to the original trac issue at 4.46pm, Thursday, 1st May 2014]

moved to osm2pgsql bugtracker osm2pgsql-dev/osm2pgsql#142

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant