Even when executed with -h / --help, the help content is logged instead of displayed. This was likely not wanted, I would think?
Affected: V05 RC1, RC2
Submitted by: OSM-Account g0ldfish
Should be fixed in 0.5rc3
Aren't you affected by the same bug when osm2postgresql does sudo .... to install postgres from EnterpriseDB?
Can you see it asks for your password if you have not done sudo in this session yet?
No, the prompt to enter the password for sudoing was displayed on the console afair (otherwise I should not have been able to get the installation done, which was successful with RC2).
This is fixed in RC3, both commands --help and -h output to stdout (-h with error though:
Error 1: The command which triggered the error was:
on line 241 of the osm2postgresql script.)
I just realised that -h is short for --host, not --help. So the switch error is because the required --file is missing.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.