Opened 14 years ago

Closed 14 years ago

#604 closed patch (fixed)

shp2pgsql usage touchups

Reported by: Mike Taves Owned by: pramsey
Priority: low Milestone: PostGIS 1.5.3
Component: postgis Version: master
Keywords: Cc:


Fixes to the usage output from shp2pgsql.

  1. the "-w" flag is not documented here, but is documented in using_postgis_dataman.xml (the flag is still accepted by the program, although see #603). I've reworded this, so please read-over my change.
  2. A few missing "."'s at the end (for consistancy)
  3. An unmatched ")"
  4. Align a few segments of text.

I have a patch for trunk, and also for 1.5.3 (if it isn't too late). However you might want to consider not adding the "-w" flag for the 1.5 branch due to #603 (unless that is an easy fix).

Attachments (2)

shp2pgsql-usage-trunk.diff (1.7 KB ) - added by Mike Taves 14 years ago.
shp2pgsql-usage-1.5.diff (1.7 KB ) - added by Mike Taves 14 years ago.

Download all attachments as: .zip

Change History (4)

by Mike Taves, 14 years ago

Attachment: shp2pgsql-usage-trunk.diff added

by Mike Taves, 14 years ago

Attachment: shp2pgsql-usage-1.5.diff added

comment:1 by Mike Taves, 14 years ago

Just updated the patches, as they had "dirfts" .. not "drifts"

comment:2 by pramsey, 14 years ago

Resolution: fixed
Status: newclosed

Committed to 1.5 at r6373. Committed to trunk at r6374.

I didn't commit the trunk version in its entirety as I didn't agree with all the punctuation. :) And I think I would rather remove the -w option than document it.

Note: See TracTickets for help on using tickets.