[GRASS-SVN] r63132 - grass/trunk/vector/v.random
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Nov 26 08:48:53 PST 2014
Author: martinl
Date: 2014-11-26 08:48:53 -0800 (Wed, 26 Nov 2014)
New Revision: 63132
Modified:
grass/trunk/vector/v.random/main.c
Log:
v.random: use standardized options (#2409)
Modified: grass/trunk/vector/v.random/main.c
===================================================================
--- grass/trunk/vector/v.random/main.c 2014-11-26 16:46:41 UTC (rev 63131)
+++ grass/trunk/vector/v.random/main.c 2014-11-26 16:48:53 UTC (rev 63132)
@@ -103,12 +103,13 @@
parm.output = G_define_standard_option(G_OPT_V_OUTPUT);
parm.nsites = G_define_option();
- parm.nsites->key = "n";
+ parm.nsites->key = "npoints";
parm.nsites->type = TYPE_INTEGER;
parm.nsites->required = YES;
parm.nsites->description = _("Number of points to be created");
parm.input = G_define_standard_option(G_OPT_V_INPUT);
+ parm.input->key = "restrict";
parm.input->required = NO;
parm.input->description = _("Restrict points to areas in input vector");
parm.input->guisection = _("Selection");
More information about the grass-commit
mailing list