[GRASS-SVN] r42453 - grass/trunk/raster/r.watershed/front

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Jun 3 06:28:41 EDT 2010


Author: huhabla
Date: 2010-06-03 06:28:40 -0400 (Thu, 03 Jun 2010)
New Revision: 42453

Modified:
   grass/trunk/raster/r.watershed/front/main.c
Log:
Fixed wrong parameter definitions


Modified: grass/trunk/raster/r.watershed/front/main.c
===================================================================
--- grass/trunk/raster/r.watershed/front/main.c	2010-06-03 03:06:01 UTC (rev 42452)
+++ grass/trunk/raster/r.watershed/front/main.c	2010-06-03 10:28:40 UTC (rev 42453)
@@ -173,7 +173,7 @@
     opt14->required = NO;
     opt14->guisection = _("Outputs");
 
-    opt15 = G_define_standard_option(G_OPT_R_OUTPUT);
+    opt15 = G_define_option();
     opt15->key = "convergence";
     opt15->type = TYPE_INTEGER;
     opt15->required = NO;
@@ -182,7 +182,7 @@
     opt15->description =
 	_("1 = most diverging flow, 10 = most converging flow. Recommended: 5");
 
-    opt16 = G_define_standard_option(G_OPT_R_OUTPUT);
+    opt16 = G_define_option();
     opt16->key = "memory";
     opt16->type = TYPE_INTEGER;
     opt16->required = NO;



More information about the grass-commit mailing list