[GRASS-SVN] r31498 - grass/branches/develbranch_6/raster/r.statistics

svn_grass at osgeo.org svn_grass at osgeo.org
Fri May 23 12:12:11 EDT 2008


Author: martinl
Date: 2008-05-23 12:12:11 -0400 (Fri, 23 May 2008)
New Revision: 31498

Modified:
   grass/branches/develbranch_6/raster/r.statistics/main.c
Log:
r.statistics: output option, trac #116

Modified: grass/branches/develbranch_6/raster/r.statistics/main.c
===================================================================
--- grass/branches/develbranch_6/raster/r.statistics/main.c	2008-05-23 15:28:58 UTC (rev 31497)
+++ grass/branches/develbranch_6/raster/r.statistics/main.c	2008-05-23 16:12:11 UTC (rev 31498)
@@ -63,6 +63,7 @@
     
     outputmap = G_define_standard_option (G_OPT_R_OUTPUT);
     outputmap->description = _("Resultant raster map (not used with 'distribution')");
+    outputmap->required = NO;
 
     flag_c = G_define_flag();
     flag_c->key = 'c';
@@ -182,7 +183,7 @@
 static int is_ok (char *method, char *map)
 {
     if (map == NULL)
-        G_fatal_error (_("An output map needs to be defined with method '%s'"), method);
+        G_fatal_error (_("An output raster map needs to be defined with method '%s'"), method);
 
     return 0;
 }



More information about the grass-commit mailing list