pgsql2sqlite --version (return code: 1)
usage: pgsql2sqlite --dbname db --table planet_osm_line --file osm.sqlite --query "select * from planet_osm_line"
pgsql2sqlite --help (return code: 0)
Postgresql/PostGIS to SQLite3 converter
Options:
-? [ --help ] Display this help screen.
-h [ --host ] arg Allows you to specify connection to a database on a
machine other than the default.
-p [ --port ] arg Allows you to specify a database port other than the
default.
-u [ --user ] arg Connect to the database as the specified user.
-d [ --dbname ] arg postgresql database name
-P [ --password ] arg Connect to the database with the specified password.
-q [ --query ] arg Name of the table/or query to pass to postmaster
-t [ --table ] arg Name of the output table to create (default: table in
query)
-f [ --file ] arg Use this option to specify the name of the file to
create.
usage: pgsql2sqlite --dbname db --table planet_osm_line --file osm.sqlite --query "select * from planet_osm_line"