[GRASS-SVN] r31499 - grass/trunk/raster/r.statistics
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri May 23 12:22:41 EDT 2008
Author: martinl
Date: 2008-05-23 12:22:41 -0400 (Fri, 23 May 2008)
New Revision: 31499
Modified:
grass/trunk/raster/r.statistics/main.c
Log:
r.statistics: output option, trac #116 (merged from devbr6, r31498)
Modified: grass/trunk/raster/r.statistics/main.c
===================================================================
--- grass/trunk/raster/r.statistics/main.c 2008-05-23 16:12:11 UTC (rev 31498)
+++ grass/trunk/raster/r.statistics/main.c 2008-05-23 16:22:41 UTC (rev 31499)
@@ -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