You are trying to open the file `postgres`, as specified between `-W` and `-H`. `-W` does not take parameters, it just forces a password prompt. _Originally posted by ABOUT.md in https://github.com/osm2pgsql-dev/osm2pgsql/discussions/2158#discussioncomment-8989234_