You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.
Reporter: milo[at]opengeo.nl [Submitted to the original trac issue database at 3.14pm, Tuesday, 6th October 2009]
I discovered in source that when the -h or --help argument is detected, osm2pgsql executes
long_usage(argv[0]);
exit(EXIT_FAILURE);
within the switch. This means that when the "verbose" argument is written on the commandline AFTER the -h or --help, it is ignored.
I have added a patch to solve this. The patch adds an integer long_usage_bool that is checked outside the switch, fires the long_usage() and uses the verbose variable if it is set.
The text was updated successfully, but these errors were encountered:
Reporter: milo[at]opengeo.nl
[Submitted to the original trac issue database at 3.14pm, Tuesday, 6th October 2009]
I discovered in source that when the -h or --help argument is detected, osm2pgsql executes
long_usage(argv[0]);
exit(EXIT_FAILURE);
within the switch. This means that when the "verbose" argument is written on the commandline AFTER the -h or --help, it is ignored.
I have added a patch to solve this. The patch adds an integer long_usage_bool that is checked outside the switch, fires the long_usage() and uses the verbose variable if it is set.
The text was updated successfully, but these errors were encountered: