[GRASS-SVN] r57983 - grass-addons/grass7/imagery/i.points.auto

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Oct 11 06:53:36 PDT 2013


Author: mmetz
Date: 2013-10-11 06:53:35 -0700 (Fri, 11 Oct 2013)
New Revision: 57983

Modified:
   grass-addons/grass7/imagery/i.points.auto/main.c
Log:
i.points.auto: option npoints is required

Modified: grass-addons/grass7/imagery/i.points.auto/main.c
===================================================================
--- grass-addons/grass7/imagery/i.points.auto/main.c	2013-10-11 13:08:35 UTC (rev 57982)
+++ grass-addons/grass7/imagery/i.points.auto/main.c	2013-10-11 13:53:35 UTC (rev 57983)
@@ -61,7 +61,7 @@
     order_opt->description = _("Transformation polynom order (1-3)");
 
     n_points_opt = G_define_option();
-    n_points_opt->required = NO;
+    n_points_opt->required = YES;
     n_points_opt->key = "npoints";
     n_points_opt->type = TYPE_INTEGER;
     n_points_opt->description = _("Maximum number of points to generate");



More information about the grass-commit mailing list