[GRASS-SVN] r58136 - grass/trunk/misc/m.measure
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Oct 31 17:34:23 PDT 2013
Author: annakrat
Date: 2013-10-31 17:34:23 -0700 (Thu, 31 Oct 2013)
New Revision: 58136
Modified:
grass/trunk/misc/m.measure/main.c
Log:
m.measure: use standard option coordinates
Modified: grass/trunk/misc/m.measure/main.c
===================================================================
--- grass/trunk/misc/m.measure/main.c 2013-10-31 15:40:45 UTC (rev 58135)
+++ grass/trunk/misc/m.measure/main.c 2013-11-01 00:34:23 UTC (rev 58136)
@@ -46,13 +46,9 @@
G_add_keyword(_("miscellaneous"));
G_add_keyword(_("measurement"));
- coords = G_define_option();
- coords->key = "coords";
- coords->description = _("Vertex coordinates");
- coords->type = TYPE_DOUBLE;
+ coords = G_define_standard_option(G_OPT_M_COORDS);
coords->required = YES;
coords->multiple = YES;
- coords->key_desc = "x,y";
units = G_define_standard_option(G_OPT_M_UNITS);
units->label = _("Units");
More information about the grass-commit
mailing list