From 27b88d9fdb1b14bc48cfcfdceb01a36d563187ce Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Fri, 16 Oct 2009 09:37:14 +0000 Subject: [PATCH] Tell what the default is for -N in help output and README file git-svn-id: http://svn.osgeo.org/postgis/trunk@4655 b70326c6-7e19-0410-871a-916f4a2858ee --- loader/README.shp2pgsql | 1 + loader/shp2pgsql.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/loader/README.shp2pgsql b/loader/README.shp2pgsql index 3be1cfbfe..252575cbd 100644 --- a/loader/README.shp2pgsql +++ b/loader/README.shp2pgsql @@ -87,6 +87,7 @@ OPTIONS -N Specify NULL geometries handling policy (insert,skip,abort). + Default: insert. -? Display version and usage information. diff --git a/loader/shp2pgsql.c b/loader/shp2pgsql.c index b7aa8e548..17ac05628 100644 --- a/loader/shp2pgsql.c +++ b/loader/shp2pgsql.c @@ -810,7 +810,8 @@ usage(char *me, int exitcode, FILE* out) fprintf(out, " -W Specify the character encoding of Shape's\n"); fprintf(out, " attribute column. (default : \"ASCII\")\n"); #endif - fprintf(out, " -N Specify NULL geometries handling policy (insert,skip,abort)\n"); + fprintf(out, " -N Specify NULL geometries handling policy (insert,skip,abort).\n"); + fprintf(out, " Default: insert.\n"); fprintf(out, " -n Only import DBF file.\n"); fprintf(out, " -? Display this help screen\n"); exit (exitcode); -- 2.50.1