[GRASS-SVN] r58062 - grass/trunk/raster/r.topmodel

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Oct 19 15:41:51 PDT 2013


Author: hcho
Date: 2013-10-19 15:41:51 -0700 (Sat, 19 Oct 2013)
New Revision: 58062

Modified:
   grass/trunk/raster/r.topmodel/misc.c
Log:
Removed --quiet from internal commands

Modified: grass/trunk/raster/r.topmodel/misc.c
===================================================================
--- grass/trunk/raster/r.topmodel/misc.c	2013-10-19 22:26:30 UTC (rev 58061)
+++ grass/trunk/raster/r.topmodel/misc.c	2013-10-19 22:41:51 UTC (rev 58062)
@@ -23,7 +23,7 @@
 
 	G_verbose_message("g.region %s ...", buf);
 
-	if (G_spawn("g.region", "g.region", "--quiet", buf, NULL) != 0)
+	if (G_spawn("g.region", "g.region", buf, NULL) != 0)
 	    G_fatal_error("g.region failed");
     }
 }
@@ -39,9 +39,9 @@
     sprintf(elev, "output=%s", map.fill);
     sprintf(dir, "outdir=%s", map.dir);
 
-    G_verbose_message("r.fill.dir %s %s %s", input, elev, dir);
+    G_verbose_message("r.fill.dir %s %s %s ...", input, elev, dir);
 
-    if (G_spawn("r.fill.dir", "r.fill.dir", "--quiet", input, elev, dir, NULL) != 0)
+    if (G_spawn("r.fill.dir", "r.fill.dir", input, elev, dir, NULL) != 0)
 	G_fatal_error("r.fill.dir failed");
 
     map.elev = map.fill;
@@ -56,7 +56,7 @@
 	    map.belev, map.basin, map.basin, map.elev);
     G_verbose_message("r.mapcalc \"%s\" ...", buf);
 
-    if (G_spawn("r.mapcalc", "r.mapcalc", "--quiet", buf, NULL) != 0)
+    if (G_spawn("r.mapcalc", "r.mapcalc", buf, NULL) != 0)
 	G_fatal_error("r.mapcalc failed");
 }
 
@@ -73,7 +73,7 @@
 
 	G_verbose_message("r.topidx %s %s ...", input, output);
 
-	if (G_spawn("r.topidx", "r.topidx", "--quiet", input, output, NULL) != 0)
+	if (G_spawn("r.topidx", "r.topidx", input, output, NULL) != 0)
 	    G_fatal_error("r.topidx failed");
     }
 



More information about the grass-commit mailing list