[GRASS-SVN] r63121 - grass/trunk/vector/v.out.postgis

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Nov 26 08:39:01 PST 2014


Author: martinl
Date: 2014-11-26 08:39:01 -0800 (Wed, 26 Nov 2014)
New Revision: 63121

Modified:
   grass/trunk/vector/v.out.postgis/args.c
Log:
v.out.postgis: use standardized options (#2409)

Modified: grass/trunk/vector/v.out.postgis/args.c
===================================================================
--- grass/trunk/vector/v.out.postgis/args.c	2014-11-26 16:38:16 UTC (rev 63120)
+++ grass/trunk/vector/v.out.postgis/args.c	2014-11-26 16:39:01 UTC (rev 63121)
@@ -19,7 +19,7 @@
     params->layer->guisection = _("Selection");
 
     params->dsn = G_define_option();
-    params->dsn->key = "dsn";
+    params->dsn->key = "output";
     params->dsn->type = TYPE_STRING;
     params->dsn->required = YES;
     params->dsn->label = _("Name for output PostGIS datasource");
@@ -27,7 +27,7 @@
         _("Starts with 'PG' prefix, eg. 'PG:dbname=grass'");
     
     params->olayer = G_define_option();
-    params->olayer->key = "olayer";
+    params->olayer->key = "output_layer";
     params->olayer->type = TYPE_STRING;
     params->olayer->required = NO;
     params->olayer->key_desc = "name";
@@ -38,7 +38,7 @@
     params->olayer->guisection = _("Creation");
 
     params->olink = G_define_standard_option(G_OPT_V_OUTPUT);
-    params->olink->key = "olink";
+    params->olink->key = "output_link";
     params->olink->required = NO;
     params->olink->label = 
         _("Name for output vector map defined as a link to the PostGIS feature table");



More information about the grass-commit mailing list