Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#857 closed enhancement (worksforme)

shp2pgsql with single argument

Reported by: strk Owned by: pramsey
Priority: medium Milestone: PostGIS 2.0.0
Component: postgis Version: master
Keywords: Cc:

Description

Allow this kind of call:

shp2pgsql lines.shp

to make up a table name looking at the shapefile name.

Change History (3)

comment:1 by jadams, 14 years ago

Resolution: worksforme
Status: newclosed

It already does this. Tested in 1.5 and trunk.

comment:2 by strk, 14 years ago

Great, but the help message doesn't say so:

USAGE: shp2pgsql [<options>] <shapefile> [<schema>.]<table>

Should be corrected to be:

USAGE: shp2pgsql [<options>] <shapefile> [[<schema>.]<table>]

or something like that

comment:3 by jadams, 14 years ago

Good point. I updated the usage text.

Note: See TracTickets for help on using tickets.