[GRASS-SVN] r65906 - grass/branches/releasebranch_7_0/raster/r.out.gdal

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Aug 12 01:04:09 PDT 2015


Author: martinl
Date: 2015-08-12 01:04:09 -0700 (Wed, 12 Aug 2015)
New Revision: 65906

Modified:
   grass/branches/releasebranch_7_0/raster/r.out.gdal/main.c
Log:
r.out.gdal: note how to override data loss check (message cosmetics) (merge r65905 from trunk)

Modified: grass/branches/releasebranch_7_0/raster/r.out.gdal/main.c
===================================================================
--- grass/branches/releasebranch_7_0/raster/r.out.gdal/main.c	2015-08-12 08:03:11 UTC (rev 65905)
+++ grass/branches/releasebranch_7_0/raster/r.out.gdal/main.c	2015-08-12 08:04:09 UTC (rev 65906)
@@ -470,9 +470,10 @@
 	}
 	if (retval == -1) {
 	    if (flag_f->answer)
-		G_warning(_("Forcing raster export."));
+		G_warning(_("Forcing raster export"));
 	    else
-		G_fatal_error(_("Raster export aborted."));
+                G_fatal_error(_("Raster export aborted. "
+                                "To override data loss check, use the -%c flag"), flag_f->key);
 	}
     }
 



More information about the grass-commit mailing list