[GRASS-SVN] r31564 - grass/trunk/raster/r.lake

svn_grass at osgeo.org svn_grass at osgeo.org
Wed May 28 16:19:55 EDT 2008


Author: martinl
Date: 2008-05-28 16:19:55 -0400 (Wed, 28 May 2008)
New Revision: 31564

Modified:
   grass/trunk/raster/r.lake/main.c
Log:
r.lake: fix bogus related to r31561

Modified: grass/trunk/raster/r.lake/main.c
===================================================================
--- grass/trunk/raster/r.lake/main.c	2008-05-28 19:51:59 UTC (rev 31563)
+++ grass/trunk/raster/r.lake/main.c	2008-05-28 20:19:55 UTC (rev 31564)
@@ -159,7 +159,7 @@
     module->description =
         _("Fills lake from seed at given level.");
 
-    tmap_opt = G_define_option(G_OPT_R_ELEV) ;
+    tmap_opt = G_define_standard_option(G_OPT_R_ELEV) ;
 
     wlvl_opt = G_define_option() ;
     wlvl_opt->key         = "wl";
@@ -167,7 +167,7 @@
     wlvl_opt->type        = TYPE_DOUBLE;
     wlvl_opt->required    = YES;
 
-    lake_opt = G_define_option(G_OPT_R_OUTPUT) ;
+    lake_opt = G_define_standard_option(G_OPT_R_OUTPUT) ;
     lake_opt->key         = "lake";
     lake_opt->description = _("Name for output raster map with lake");
     smap_opt->required    = NO;
@@ -180,7 +180,7 @@
     sdxy_opt->required    = NO;
     sdxy_opt->multiple    = NO;
 
-    smap_opt = G_define_option(G_OPT_R_MAP) ;
+    smap_opt = G_define_standard_option(G_OPT_R_MAP) ;
     smap_opt->key         = "seed";
     smap_opt->description = _("Name of raster map with seed (at least 1 cell > 0)");
     smap_opt->required    = NO;



More information about the grass-commit mailing list