From ea0951f97749fe25df7a5d8c25822eab918b440a Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Sat, 6 Mar 2004 17:35:59 +0000 Subject: [PATCH] Added rcsid string to usage output git-svn-id: http://svn.osgeo.org/postgis/trunk@474 b70326c6-7e19-0410-871a-916f4a2858ee --- loader/shp2pgsql.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/loader/shp2pgsql.c b/loader/shp2pgsql.c index ba1aa7e9d..79345807e 100644 --- a/loader/shp2pgsql.c +++ b/loader/shp2pgsql.c @@ -12,6 +12,9 @@ * ********************************************************************** * $Log$ + * Revision 1.49 2004/03/06 17:35:59 strk + * Added rcsid string to usage output + * * Revision 1.48 2004/02/03 08:37:48 strk * schema support added, slightly modified logic used to keep table and schema names cases (always quoted and forced to lower case if not asked to keep original case) * @@ -139,6 +142,9 @@ char *protect_quotes_string(char *str); int PIP( Point P, Point* V, int n ); void *safe_malloc(size_t size); +static char rcsid[] = + "$Id$"; + void *safe_malloc(size_t size) { void *ret = malloc(size); @@ -669,6 +675,8 @@ int main (int ARGC, char **ARGV){ if (errflg==1) { printf("\n**ERROR** invalid option or command parameters\n"); printf("\n"); + printf("VERSION: %s", rcsid); + printf("\n"); printf("USAGE: shp2pgsql [] [.]\n"); printf("\n"); printf("OPTIONS:\n"); -- 2.40.0