From: Sandro Santilli Date: Tue, 27 Mar 2012 10:51:20 +0000 (+0000) Subject: 80 cols wrap for pgsql2shp help screen (#1722) X-Git-Tag: 2.0.0rc1~18 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4fc1af8d5598cf14fd06f4d6f7fb92b6f20fe53e;p=postgis 80 cols wrap for pgsql2shp help screen (#1722) Patch by Mike Toews git-svn-id: http://svn.osgeo.org/postgis/trunk@9553 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/loader/pgsql2shp-cli.c b/loader/pgsql2shp-cli.c index e6da4e59f..04c2ad045 100644 --- a/loader/pgsql2shp-cli.c +++ b/loader/pgsql2shp-cli.c @@ -29,25 +29,23 @@ usage() " pgsql2shp [] \n" "\n" "OPTIONS:\n" )); - printf(_(" -f Use this option to specify the name of the file\n" - " to create.\n" )); - printf(_(" -h Allows you to specify connection to a database on a\n" + printf(_(" -f Use this option to specify the name of the file to create.\n" )); + printf(_(" -h Allows you to specify connection to a database on a\n" " machine other than the default.\n" )); printf(_(" -p Allows you to specify a database port other than the default.\n" )); printf(_(" -P Connect to the database with the specified password.\n" )); printf(_(" -u Connect to the database as the specified user.\n" )); printf(_(" -g Specify the geometry column to be exported.\n" )); printf(_(" -b Use a binary cursor.\n" )); - printf(_(" -r Raw mode. Do not assume table has been created by \n" - " the loader. This would not unescape attribute names\n" - " and will not skip the 'gid' attribute.\n" )); - printf(_(" -k Keep postgresql identifiers case.\n" )); - printf(_(" -m Specify a file containing a set of mappings of (long) column names\n" - " to 10 character DBF column names. The content of the file is one or more lines\n" - " of two names separated by white space and no trailing or leading space:\n" - " COLUMNNAME DBFFIELD1\n" - " AVERYLONGCOLUMNNAME DBFFIELD2\n" - " etc.\n" )); + printf(_(" -r Raw mode. Do not assume table has been created by the loader. This would\n" + " not unescape attribute names and will not skip the 'gid' attribute.\n" )); + printf(_(" -k Keep PostgreSQL identifiers case.\n" )); + printf(_(" -m Specify a file containing a set of mappings of (long) column\n" + " names to 10 character DBF column names. The content of the file is one or\n" + " more lines of two names separated by white space and no trailing or\n" + " leading space. For example:\n" + " COLUMNNAME DBFFIELD1\n" + " AVERYLONGCOLUMNNAME DBFFIELD2\n" )); printf(_(" -? Display this help screen.\n\n" )); }