[GRASS-SVN] r47489 - grass/trunk/display/d.vect

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Aug 7 14:54:30 EDT 2011


Author: martinl
Date: 2011-08-07 11:54:29 -0700 (Sun, 07 Aug 2011)
New Revision: 47489

Modified:
   grass/trunk/display/d.vect/main.c
Log:
d.vect: standardize options
	wcolumn -> width_column
	wscale -> width_scale
	rot_column -> rotation_column


Modified: grass/trunk/display/d.vect/main.c
===================================================================
--- grass/trunk/display/d.vect/main.c	2011-08-07 18:29:41 UTC (rev 47488)
+++ grass/trunk/display/d.vect/main.c	2011-08-07 18:54:29 UTC (rev 47489)
@@ -192,13 +192,13 @@
     width_opt->description = _("Line width");
 
     wcolumn_opt = G_define_standard_option(G_OPT_DB_COLUMN);
-    wcolumn_opt->key = "wcolumn";
+    wcolumn_opt->key = "width_column";
     wcolumn_opt->guisection = _("Lines");
     wcolumn_opt->description =
 	_("Name of column for line widths (these values will be scaled by wscale)");
 
     wscale_opt = G_define_option();
-    wscale_opt->key = "wscale";
+    wscale_opt->key = "width_scale";
     wscale_opt->type = TYPE_DOUBLE;
     wscale_opt->answer = "1";
     wscale_opt->guisection = _("Lines");
@@ -232,7 +232,7 @@
 	_("Name of numeric column containing symbol size");
 
     rotcolumn_opt = G_define_standard_option(G_OPT_DB_COLUMN);
-    rotcolumn_opt->key = "rot_column";
+    rotcolumn_opt->key = "rotation_column";
     rotcolumn_opt->guisection = _("Symbols");
     rotcolumn_opt->label =
 	_("Name of numeric column containing symbol rotation angle");



More information about the grass-commit mailing list