[GRASS-SVN] r48640 - grass/trunk/raster/r.series

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Oct 5 07:34:09 EDT 2011


Author: huhabla
Date: 2011-10-05 04:34:09 -0700 (Wed, 05 Oct 2011)
New Revision: 48640

Modified:
   grass/trunk/raster/r.series/main.c
Log:
Better error messages 

Modified: grass/trunk/raster/r.series/main.c
===================================================================
--- grass/trunk/raster/r.series/main.c	2011-10-05 10:00:51 UTC (rev 48639)
+++ grass/trunk/raster/r.series/main.c	2011-10-05 11:34:09 UTC (rev 48640)
@@ -183,10 +183,10 @@
     }
     
     if (parm.input->answer && parm.file->answer)
-        G_fatal_error(_("Options <input> and <file> are mutual exclusive"));
+        G_fatal_error(_("input= and file= are mutually exclusive"));
  
     if (!parm.input->answer && !parm.file->answer)
-        G_fatal_error(_("You need to specify <input> or <file> option"));
+        G_fatal_error(_("Please specify input= or file="));
 
 
     /* process the input maps from the file */
@@ -217,7 +217,7 @@
 	fclose(in);
 
 	if (num_inputs < 1)
-	    G_fatal_error(_("No raster map found in input file"));
+	    G_fatal_error(_("No raster map name found in input file"));
 
 	inputs = G_malloc(num_inputs * sizeof(struct input));
 



More information about the grass-commit mailing list