[GRASS-SVN] r63119 - grass/trunk/vector/v.out.ogr

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Nov 26 08:36:33 PST 2014


Author: martinl
Date: 2014-11-26 08:36:33 -0800 (Wed, 26 Nov 2014)
New Revision: 63119

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

Modified: grass/trunk/vector/v.out.ogr/args.c
===================================================================
--- grass/trunk/vector/v.out.ogr/args.c	2014-11-26 16:34:34 UTC (rev 63118)
+++ grass/trunk/vector/v.out.ogr/args.c	2014-11-26 16:36:33 UTC (rev 63119)
@@ -22,7 +22,7 @@
     options->type->guisection = _("Selection");
 
     options->dsn = G_define_option();
-    options->dsn->key = "dsn";
+    options->dsn->key = "output";
     options->dsn->type = TYPE_STRING;
     options->dsn->required = YES;
     options->dsn->label = _("Name of output OGR datasource");
@@ -40,7 +40,7 @@
     options->format->description = _("Data format to write");
     
     options->layer = G_define_option();
-    options->layer->key = "olayer";
+    options->layer->key = "output_layer";
     options->layer->type = TYPE_STRING;
     options->layer->required = NO;
     options->layer->label =
@@ -51,7 +51,7 @@
     options->layer->guisection = _("Creation");
 
     options->otype = G_define_standard_option(G_OPT_V_TYPE);
-    options->otype->key = "otype";
+    options->otype->key = "output_type";
     options->otype->options = "line,boundary";
     options->otype->answer = "";
     options->otype->description = _("Optionally change default output type");



More information about the grass-commit mailing list