From 7301829942296486ff529837b544604202127834 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Sat, 6 Mar 2004 17:43:06 +0000 Subject: [PATCH] Added RCSID string in usage output git-svn-id: http://svn.osgeo.org/postgis/trunk@475 b70326c6-7e19-0410-871a-916f4a2858ee --- loader/pgsql2shp.c | 7 +++++++ loader/shp2pgsql.c | 6 ++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/loader/pgsql2shp.c b/loader/pgsql2shp.c index 1802c7cfe..4dd0f10dd 100644 --- a/loader/pgsql2shp.c +++ b/loader/pgsql2shp.c @@ -10,6 +10,9 @@ * ********************************************************************** * $Log$ + * Revision 1.43 2004/03/06 17:43:06 strk + * Added RCSID string in usage output + * * Revision 1.42 2004/02/09 18:49:23 strk * byte endiannes detected empirically * @@ -92,6 +95,9 @@ * **********************************************************************/ +static char rcsid[] = + "$Id$"; + #include #include #include @@ -2097,6 +2103,7 @@ getGeometryType(char *schema, char *table, char *geo_col_name) void usage(status) { + printf("RCSID: %s\n", rcsid); printf("USAGE: pgsql2shp [] [.]\n"); printf("\n"); printf("OPTIONS:\n"); diff --git a/loader/shp2pgsql.c b/loader/shp2pgsql.c index 79345807e..e3194da87 100644 --- a/loader/shp2pgsql.c +++ b/loader/shp2pgsql.c @@ -12,6 +12,9 @@ * ********************************************************************** * $Log$ + * Revision 1.50 2004/03/06 17:43:06 strk + * Added RCSID string in usage output + * * Revision 1.49 2004/03/06 17:35:59 strk * Added rcsid string to usage output * @@ -675,8 +678,7 @@ 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("RCSID: %s\n", rcsid); printf("USAGE: shp2pgsql [] [.]
\n"); printf("\n"); printf("OPTIONS:\n"); -- 2.40.0