]> granicus.if.org Git - postgis/commitdiff
Do not hard-code default encoding (since it's a macro)
authorSandro Santilli <strk@keybit.net>
Wed, 31 Mar 2010 15:34:14 +0000 (15:34 +0000)
committerSandro Santilli <strk@keybit.net>
Wed, 31 Mar 2010 15:34:14 +0000 (15:34 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5473 b70326c6-7e19-0410-871a-916f4a2858ee

loader/shp2pgsql-cli.c

index cc207a193c719771dd6d1b52551bf429ea1c329b..785d1cf1df631d16ece97a9f2db02d1df07ab7f8 100644 (file)
@@ -40,7 +40,7 @@ usage()
        printf("  -I  Create a spatial index on the geocolumn.\n");
        printf("  -S  Generate simple geometries instead of MULTI geometries.\n");
        printf("  -W <encoding> Specify the character encoding of Shape's\n");
-       printf("     attribute column. (default : \"WINDOWS-1252\")\n");
+       printf("     attribute column. (default : \""ENCODING_DEFAULT"\")\n");
        printf("  -N <policy> NULL geometries handling policy (insert*,skip,abort)\n");
        printf("  -n  Only import DBF file.\n");
        printf("  -?  Display this help screen.\n");