[GRASS-SVN] r50238 - grass/trunk/vector/v.rectify

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Jan 17 10:05:27 EST 2012


Author: mmetz
Date: 2012-01-17 07:05:27 -0800 (Tue, 17 Jan 2012)
New Revision: 50238

Modified:
   grass/trunk/vector/v.rectify/main.c
Log:
v.rectify: update for GUI

Modified: grass/trunk/vector/v.rectify/main.c
===================================================================
--- grass/trunk/vector/v.rectify/main.c	2012-01-17 15:05:08 UTC (rev 50237)
+++ grass/trunk/vector/v.rectify/main.c	2012-01-17 15:05:27 UTC (rev 50238)
@@ -84,7 +84,9 @@
     val = G_define_option();
     val->key = "order";
     val->type = TYPE_INTEGER;
-    val->required = YES;
+    val->required = NO;
+    val->options = "1-3";
+    val->answer = "1";
     val->description = _("Rectification polynom order (1-3)");
     
     sep = G_define_standard_option(G_OPT_F_SEP);



More information about the grass-commit mailing list