From: Sandro Santilli Date: Fri, 16 Oct 2009 09:37:14 +0000 (+0000) Subject: Tell what the default is for -N in help output and README file X-Git-Tag: 1.5.0b1~365 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=27b88d9fdb1b14bc48cfcfdceb01a36d563187ce;p=postgis 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 --- 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);